Royal Blue

#2A4AFE

General Information about Royal Blue

The hexadecimal color code #2A4AFE represents Royal Blue. It is composed of 16.47% red, 28.63% green, and 99.61% blue. In the RGB color model, this corresponds to values of R:42, G:74, and B:254. In the CMYK color model, it is composed of 83.46% cyan, 70.87% magenta, 0% yellow, and 0% black. Royal Blue is often associated with trustworthiness, loyalty, and intelligence. Its vibrant nature makes it suitable for various applications, from web design to branding, where a sense of reliability and innovation is desired. The color is achieved through a strong presence of blue pigment, making it a bold choice.

The color #2A4AFE, a vibrant Royal Blue, presents several accessibility considerations for web developers. Its luminance value is relatively low, which means sufficient contrast is needed when pairing it with text or other UI elements. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text. Therefore, when using #2A4AFE as a background, it's essential to use light-colored text to ensure readability for users with visual impairments. Tools like contrast checkers can help verify compliance. Additionally, relying solely on color to convey information should be avoided; supplementing color cues with text or icons enhances accessibility for color-blind users. Proper ARIA attributes can further improve the experience for screen reader users.

Shades

Digital Color Formats

RGB
42 74 254
RGB42 74 254
Red
Green
Blue
HSL
230.94deg 99.07% 58.04%
230.9499.0758.04HSL
Hue
Saturation
Lightness
HWB
230.94deg 16.47% 0.39%
230.9416.470.39HWB
Hue
Whiteness
Blackness
hex#2A4AFE
rgb42 74 254
hsl230.94deg 99.07% 58.04%
cmyk83.46% 70.87% 0% 0.39%
hwb230.94deg 16.47% 0.39%
xyz-d650.21 0.13 0.95
oklch0.5223 0.2644 267.04
oklab0.5223 -0.01 -0.26
CMYK
83.46% 70.87% 0% 0.39%
83.4670.8700.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.21 0.13 0.95
0.210.130.95XYZ
X
Y
Z
OKLCH
0.5223 0.2644 267.04
0.52230.2644267.04LCH
Lightness
Chroma
Hue
OKLAB
0.5223 -0.01 -0.26
0.5223-0.01-0.26LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons