Dark Blue

#2A02C8

General Information about #2A02C8

The hexadecimal color code #2A02C8 represents a dark shade of blue in the RGB color model. It is composed of 16.5% red, 0.78% green, and 78.43% blue. In the sRGB color space, its HSL values are hue: 249 degrees, saturation: 98%, and lightness: 39%. This color is best described as a dark, vivid blue with a strong presence. Understanding the composition of this color allows designers and developers to effectively utilize it in various applications. Its high blue content creates a cool and calming feel, while the low red and green components contribute to its depth and richness. The color is far from the primary color blue and moves into the realm of violet due to the mixture.

The hex color #2a02c8, a deep shade of blue, presents accessibility challenges for web developers. Its dark nature necessitates careful consideration of contrast ratios. When used as a background color, it's crucial to pair it with light-colored text (white or very light shades of yellow or green) to ensure readability. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text, as per WCAG guidelines. Using this color for text is highly discouraged unless on a very light background. Additionally, consider providing alternative styling options for users with visual impairments, such as allowing them to adjust the color scheme. Employing ARIA attributes can further enhance accessibility by providing screen readers with information about the color's role and purpose within the user interface. Thoughtful use of this color can still create visually appealing designs without sacrificing inclusivity.

Shades

Digital Color Formats

RGB
42 2 200
RGB42 2 200
Red
Green
Blue
HSL
252.12deg 98.02% 39.61%
252.1298.0239.61HSL
Hue
Saturation
Lightness
HWB
252.12deg 0.78% 21.57%
252.120.7821.57HWB
Hue
Whiteness
Blackness
hex#2A02C8
rgb42 2 200
hsl252.12deg 98.02% 39.61%
cmyk79% 99% 0% 21.57%
hwb252.12deg 0.78% 21.57%
xyz-d650.11 0.05 0.55
oklch0.3917 0.2514 271.92
oklab0.3917 0.01 -0.25
CMYK
79% 99% 0% 21.57%
7999021.57CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.11 0.05 0.55
0.110.050.55XYZ
X
Y
Z
OKLCH
0.3917 0.2514 271.92
0.39170.2514271.92LCH
Lightness
Chroma
Hue
OKLAB
0.3917 0.01 -0.25
0.39170.01-0.25LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons