Dark Blue

#240CDA

General Information

The hexadecimal color code #240CDA represents a dark shade of blue in the RGB color model. It is composed of 14.12% red, 4.71% green, and 85.49% blue. This indicates that the color is heavily weighted towards the blue spectrum, resulting in its deep, rich appearance. In the CMYK color model, which is often used for printing, the color is composed of 83% cyan, 95% magenta, 0% yellow, and 14% black. This color is typically perceived as sophisticated, trustworthy, and calming, which makes it a popular choice in a variety of design applications. Understanding the components of a hex code helps designers and developers create effective and visually appealing projects.

The color #240CDA, a dark blue hue, presents several accessibility considerations for web developers. When used as a background color, it necessitates very light text to ensure sufficient contrast for readability, especially for users with visual impairments. A contrast ratio of at least 4.5:1 is recommended by WCAG guidelines for normal text and 3:1 for large text. Using tools to verify contrast ratios is crucial. Avoid using this color for crucial interactive elements if sufficient contrast cannot be achieved. Employing techniques like text shadows or borders can sometimes improve readability, but careful testing with users is always recommended to confirm accessibility. When using this color as a foreground element, similar consideration regarding contrast against the background are necessary.

Shades

Digital Color Formats

RGB
36 12 218
RGB36 12 218
Red
Green
Blue
HSL
246.99deg 89.57% 45.1%
246.9989.5745.1HSL
Hue
Saturation
Lightness
HWB
246.99deg 4.71% 14.51%
246.994.7114.51HWB
Hue
Whiteness
Blackness
hex#240CDA
rgb36 12 218
hsl246.99deg 89.57% 45.1%
cmyk83.49% 94.5% 0% 14.51%
hwb246.99deg 4.71% 14.51%
xyz-d650.14 0.06 0.67
oklch0.4161 0.2685 269.14
oklab0.4161 0 -0.27
CMYK
83.49% 94.5% 0% 14.51%
83.4994.5014.51CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.14 0.06 0.67
0.140.060.67XYZ
X
Y
Z
OKLCH
0.4161 0.2685 269.14
0.41610.2685269.14LCH
Lightness
Chroma
Hue
OKLAB
0.4161 0 -0.27
0.41610-0.27LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons