Royal Blue

#2C42EC

General Information

The hexadecimal color code #2C42EC represents a shade of royal blue in the RGB (Red, Green, Blue) color model. It's created by combining specific intensities of red, green, and blue light. In this case, the color consists of 17.3% red, 25.9% green, and 92.5% blue. This particular combination results in a vivid and saturated blue hue, often associated with sophistication, trust, and authority. Hex codes are commonly used in web design, graphic design, and other digital media to precisely define colors for display on screens. Understanding the composition of hex codes allows designers and developers to accurately reproduce colors across different platforms and devices, ensuring visual consistency.

The color #2C42EC, a shade of royal blue, presents some accessibility challenges. Its relatively low luminance (brightness) means that text rendered in this color, especially smaller font sizes, may be difficult for users with visual impairments to read against a white or light-colored background. According to WCAG (Web Content Accessibility Guidelines) standards, sufficient contrast between text and background is essential for readability. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Using #2C42EC for text on a white background may not meet these contrast requirements. To improve accessibility, consider using a lighter shade of blue or a different color altogether for text. Alternatively, pair it with a very light background color to enhance contrast. Tools are available to measure contrast ratios and ensure compliance with accessibility standards.

Shades

Digital Color Formats

RGB
44 66 236
RGB44 66 236
Red
Green
Blue
HSL
233.13deg 83.48% 54.9%
233.1383.4854.9HSL
Hue
Saturation
Lightness
HWB
233.13deg 17.25% 7.45%
233.1317.257.45HWB
Hue
Whiteness
Blackness
hex#2C42EC
rgb44 66 236
hsl233.13deg 83.48% 54.9%
cmyk81.36% 72.03% 0% 7.45%
hwb233.13deg 17.25% 7.45%
xyz-d650.18 0.1 0.8
oklch0.493 0.2508 268.21
oklab0.493 -0.01 -0.25
CMYK
81.36% 72.03% 0% 7.45%
81.3672.0307.45CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.18 0.1 0.8
0.180.10.8XYZ
X
Y
Z
OKLCH
0.493 0.2508 268.21
0.4930.2508268.21LCH
Lightness
Chroma
Hue
OKLAB
0.493 -0.01 -0.25
0.493-0.01-0.25LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons