Royal Blue

#2A5AFE

About Royal Blue

The hexadecimal color #2A5AFE, also known as Royal Blue, is a vibrant and rich shade of blue. It is composed of 16.47% red, 35.29% green, and 99.61% blue. In the RGB color space, it is represented as rgb(42, 90, 254). In the CMYK color space, it is composed of 83.46% cyan, 64.57% magenta, 0% yellow and 0% black. Royal Blue is often associated with qualities like trustworthiness, stability, and knowledge. It is a popular choice for branding, web design, and other creative applications where a sense of reliability and confidence is desired. Its high blue content gives it a cool and calming effect, making it suitable for designs aimed at promoting relaxation or focus.

The hex color #2A5AFE, a vibrant shade of Royal Blue, presents some accessibility considerations for web developers. Its luminance value may not provide sufficient contrast against white or light backgrounds, potentially causing readability issues for users with visual impairments. To ensure inclusivity, it is crucial to pair this color with a darker text color or use it sparingly for decorative elements. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Developers should utilize contrast checking tools to assess the compliance of their color combinations. Additionally, consider providing alternative color schemes for users with specific needs. When using #2A5AFE, it's recommended to use white text to provide a higher contrast ratio and ensure good readability.

Shades

Digital Color Formats

RGB
42 90 254
RGB42 90 254
Red
Green
Blue
HSL
226.42deg 99.07% 58.04%
226.4299.0758.04HSL
Hue
Saturation
Lightness
HWB
226.42deg 16.47% 0.39%
226.4216.470.39HWB
Hue
Whiteness
Blackness
hex#2A5AFE
rgb42 90 254
hsl226.42deg 99.07% 58.04%
cmyk83.46% 64.57% 0% 0.39%
hwb226.42deg 16.47% 0.39%
xyz-d650.23 0.15 0.95
oklch0.5478 0.2479 265.54
oklab0.5478 -0.02 -0.25
CMYK
83.46% 64.57% 0% 0.39%
83.4664.5700.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.23 0.15 0.95
0.230.150.95XYZ
X
Y
Z
OKLCH
0.5478 0.2479 265.54
0.54780.2479265.54LCH
Lightness
Chroma
Hue
OKLAB
0.5478 -0.02 -0.25
0.5478-0.02-0.25LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons