Royal Blue

#2A5FEE

General Information about Royal Blue

Royal Blue, represented by the hexadecimal color code #2A5FEE, is a vibrant and captivating shade of blue that evokes feelings of trust, authority, and sophistication. It lies within the blue spectrum, exhibiting a slightly deeper and richer tone compared to standard blue. This color is frequently associated with royalty, hence its name, and is often employed in branding and design to convey a sense of reliability and importance. Royal Blue is created by combining a moderate amount of red and green with a high proportion of blue in the RGB color model. Its hex code, #2A5FEE, translates to Red: 42, Green: 95, Blue: 238 in decimal values. The color is extensively used in both print and digital media, where its visual impact is substantial and memorable, and contributes effectively to brand recognition.

The hex color #2A5FEE, also known as Royal Blue, presents some accessibility considerations for web developers. When used as a foreground color for text, it requires careful selection of a background color to ensure sufficient contrast. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. A light background color, such as white (#FFFFFF) or a very light gray, would likely be necessary to achieve acceptable contrast. Additionally, developers should avoid using this color as the sole means of conveying important information, such as in links or buttons, as users with color vision deficiencies may not be able to distinguish it from surrounding elements. Providing alternative cues, like underlines or labels, can improve accessibility for all users. Careful testing with accessibility evaluation tools and user feedback are crucial to ensure inclusive design when using #2A5FEE.

Shades

Digital Color Formats

RGB
42 95 238
RGB42 95 238
Red
Green
Blue
HSL
223.78deg 85.22% 54.9%
223.7885.2254.9HSL
Hue
Saturation
Lightness
HWB
223.78deg 16.47% 6.67%
223.7816.476.67HWB
Hue
Whiteness
Blackness
hex#2A5FEE
rgb42 95 238
hsl223.78deg 85.22% 54.9%
cmyk82.35% 60.08% 0% 6.67%
hwb223.78deg 16.47% 6.67%
xyz-d650.2 0.15 0.83
oklch0.5425 0.2227 264.45
oklab0.5425 -0.02 -0.22
CMYK
82.35% 60.08% 0% 6.67%
82.3560.0806.67CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.2 0.15 0.83
0.20.150.83XYZ
X
Y
Z
OKLCH
0.5425 0.2227 264.45
0.54250.2227264.45LCH
Lightness
Chroma
Hue
OKLAB
0.5425 -0.02 -0.22
0.5425-0.02-0.22LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons