Dark Blue

#0C21DA

General Information about #0C21DA

The hexadecimal color code #0C21DA represents a dark shade of blue. It is composed of 4.71% red, 12.94% green, and 85.49% blue. In the RGB color model, this translates to 12 red, 33 green, and 218 blue. The corresponding CMYK color code is 0.94, 0.85, 0.00, 0.15, indicating that it is primarily composed of cyan and magenta, with a small amount of black. In the HSL color space, #0C21DA has a hue of 227 degrees, a saturation of 89%, and a lightness of 45%. This color is often associated with feelings of calmness, stability, and depth. It is frequently used in designs where trustworthiness and authority are desired. Due to its high blue component, it is perceived as a cool color, making it suitable for various applications, ranging from corporate branding to digital interfaces.

The hex color #0C21DA, a dark blue, presents some accessibility challenges, primarily due to its low luminance. When used as a foreground color, it requires careful consideration of contrast ratios against background colors. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Using this dark blue against a dark background will likely fail these guidelines, making text difficult to read for users with visual impairments. To improve accessibility, it is crucial to pair this color with much lighter backgrounds, such as white or very light gray. Alternatively, if used as a background color, the foreground text should be a light color to ensure sufficient contrast. Tools like contrast checkers can help verify compliance with accessibility standards and ensure readability for all users. Moreover, it's important to avoid relying solely on color to convey information; consider using additional cues like icons or text labels to accommodate users with color vision deficiencies.

Shades

Digital Color Formats

RGB
12 33 218
RGB12 33 218
Red
Green
Blue
HSL
233.88deg 89.57% 45.1%
233.8889.5745.1HSL
Hue
Saturation
Lightness
HWB
233.88deg 4.71% 14.51%
233.884.7114.51HWB
Hue
Whiteness
Blackness
hex#0C21DA
rgb12 33 218
hsl233.88deg 89.57% 45.1%
cmyk94.5% 84.86% 0% 14.51%
hwb233.88deg 4.71% 14.51%
xyz-d650.13 0.06 0.67
oklch0.4231 0.2636 265.23
oklab0.4231 -0.02 -0.26
CMYK
94.5% 84.86% 0% 14.51%
94.584.86014.51CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.13 0.06 0.67
0.130.060.67XYZ
X
Y
Z
OKLCH
0.4231 0.2636 265.23
0.42310.2636265.23LCH
Lightness
Chroma
Hue
OKLAB
0.4231 -0.02 -0.26
0.4231-0.02-0.26LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons