Royal Blue

#2D40EB

General Information about #2D40EB (Royal Blue)

The hexadecimal color code #2D40EB represents a shade of blue, commonly known as Royal Blue. It is composed of 17.65% red, 25.1% green, and 92.16% blue. In the RGB color model, this corresponds to R:45, G:64, B:235. In the CMYK color model, it is composed of C:81, M:73, Y:0, K:7. Royal Blue is often associated with qualities such as loyalty, trust, confidence, and intelligence. It is a color that can evoke feelings of calmness, stability, and authority. Its specific hue and saturation make it a versatile color suitable for various design applications, from digital interfaces to physical products. It is considered a cool color, creating a sense of serenity and peace. Royal Blue is a saturated color, making it effective for drawing attention and creating visual interest.

The hex color #2D40EB, also known as Royal Blue, offers moderate accessibility considerations for web development. Its contrast ratio against white (#FFFFFF) is approximately 4.27:1, which meets the WCAG AA standard for normal text and large text (18pt or 14pt bold). However, against black (#000000), the contrast ratio is only 4.95:1. To ensure optimal accessibility, consider using #2D40EB for larger text elements or combining it with lighter shades of background colors, such as light gray (#D3D3D3) or off-white (#FAFAFA), to improve readability for users with visual impairments. Additionally, avoid using this color for essential interface elements without proper contrast adjustments. When using the color in interactive elements, it's crucial to provide distinct visual cues beyond just color to meet WCAG 2.1 Level AA standards for non-text contrast.

Shades

Digital Color Formats

RGB
45 64 235
RGB45 64 235
Red
Green
Blue
HSL
234deg 82.61% 54.9%
23482.6154.9HSL
Hue
Saturation
Lightness
HWB
234deg 17.65% 7.84%
23417.657.84HWB
Hue
Whiteness
Blackness
hex#2D40EB
rgb45 64 235
hsl234deg 82.61% 54.9%
cmyk80.85% 72.77% 0% 7.84%
hwb234deg 17.65% 7.84%
xyz-d650.18 0.1 0.8
oklch0.4895 0.2513 268.58
oklab0.4895 -0.01 -0.25
CMYK
80.85% 72.77% 0% 7.84%
80.8572.7707.84CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.18 0.1 0.8
0.180.10.8XYZ
X
Y
Z
OKLCH
0.4895 0.2513 268.58
0.48950.2513268.58LCH
Lightness
Chroma
Hue
OKLAB
0.4895 -0.01 -0.25
0.4895-0.01-0.25LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons