Royal Blue

#2D5CFB

About Hex Color #2D5CFB

The hexadecimal color code #2D5CFB represents a specific shade of Royal Blue. In the RGB color model, #2D5CFB consists of 17.65% red, 36.08% green, and 98.43% blue. This color is a vivid and saturated blue tone that is often associated with royalty, trust, and stability. It's commonly used in various applications, from web design and branding to fashion and interior design. Understanding the components of a hex code allows designers and developers to accurately reproduce and manipulate colors in their projects. Hex codes are a standard way of specifying colors in HTML, CSS, and other digital media.

The hex color #2D5CFB, a shade of Royal Blue, presents some accessibility challenges, especially concerning color contrast. When used as text, it requires careful consideration of the background color to ensure readability for users with visual impairments. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text against its background. Using #2D5CFB on a white or very light background may not meet these standards, potentially making it difficult for some users to read. Therefore, it is crucial to pair this color with a darker background to improve contrast. Tools are available to check the contrast ratio between colors to ensure compliance with accessibility standards. For interactive elements like buttons or links, sufficient contrast is even more critical to ensure that users can easily identify and interact with these elements.

Shades

Digital Color Formats

RGB
45 92 251
RGB45 92 251
Red
Green
Blue
HSL
226.31deg 96.26% 58.04%
226.3196.2658.04HSL
Hue
Saturation
Lightness
HWB
226.31deg 17.65% 1.57%
226.3117.651.57HWB
Hue
Whiteness
Blackness
hex#2D5CFB
rgb45 92 251
hsl226.31deg 96.26% 58.04%
cmyk82.07% 63.35% 0% 1.57%
hwb226.31deg 17.65% 1.57%
xyz-d650.22 0.15 0.93
oklch0.5494 0.2414 265.68
oklab0.5494 -0.02 -0.24
CMYK
82.07% 63.35% 0% 1.57%
82.0763.3501.57CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.22 0.15 0.93
0.220.150.93XYZ
X
Y
Z
OKLCH
0.5494 0.2414 265.68
0.54940.2414265.68LCH
Lightness
Chroma
Hue
OKLAB
0.5494 -0.02 -0.24
0.5494-0.02-0.24LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons