Dark Blue

#0312CE

About Hex Color #0312CE

The hexadecimal color code #0312CE represents a dark shade of blue. In the RGB color model, it is composed of 1.18% red, 7.06% green, and 80.78% blue. This translates to a predominantly blue hue with minimal red and green components, resulting in a deep, cool tone. The color is frequently described as a dark, electric blue. Hex color codes are commonly used in web design and graphic design to specify colors precisely. Understanding the RGB composition helps designers to appreciate how different colors combine to form a specific shade. In web development, this color can be specified using the hexadecimal code, or using RGB or HSL values.

The hex color #0312CE, a dark blue, presents significant accessibility challenges, particularly for users with visual impairments. Its low luminance value means that text rendered in this color requires very light foreground colors to achieve sufficient contrast. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is needed for normal text and 3:1 for large text. Using white (#FFFFFF) as the foreground color yields a contrast ratio that may be acceptable, but careful testing is crucial. Avoid pairing this dark blue with mid-tone grays or darker colors, as this will likely fail accessibility standards. Also, consider users with color blindness; ensure that important information isn't conveyed solely through color, but also through text or icons.

Shades

Digital Color Formats

RGB
3 18 206
RGB3 18 206
Red
Green
Blue
HSL
235.57deg 97.13% 40.98%
235.5797.1340.98HSL
Hue
Saturation
Lightness
HWB
235.57deg 1.18% 19.22%
235.571.1819.22HWB
Hue
Whiteness
Blackness
hex#0312CE
rgb3 18 206
hsl235.57deg 97.13% 40.98%
cmyk98.54% 91.26% 0% 19.22%
hwb235.57deg 1.18% 19.22%
xyz-d650.11 0.05 0.59
oklch0.3941 0.2604 264.5
oklab0.3941 -0.02 -0.26
CMYK
98.54% 91.26% 0% 19.22%
98.5491.26019.22CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.11 0.05 0.59
0.110.050.59XYZ
X
Y
Z
OKLCH
0.3941 0.2604 264.5
0.39410.2604264.5LCH
Lightness
Chroma
Hue
OKLAB
0.3941 -0.02 -0.26
0.3941-0.02-0.26LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons