Royal Blue

#3158F7

General Information about Royal Blue (#3158F7)

The hex color #3158F7, also known as Royal Blue, is a vibrant and saturated shade of blue. In the RGB color model, it consists of 19.22% red, 34.51% green, and 96.86% blue. This color evokes feelings of trust, authority, and stability, making it a popular choice for various applications. In terms of color theory, royal blue sits between blue and violet on the color wheel, lending it a sense of depth and complexity. Its prominence in heraldry and royal attire contributes to its association with prestige and sophistication. From a technical standpoint, hexadecimal color codes are used to represent colors in HTML, CSS, and other web technologies, ensuring consistent color representation across different devices and platforms. Royal blue is a versatile color that can be used effectively to create visually appealing and impactful designs.

The hex color #3158F7, a vibrant royal blue, presents some accessibility considerations for web developers. Its relative luminance requires careful selection of foreground text colors to ensure sufficient contrast. When used as a background, white text provides excellent readability. However, darker text colors may not meet accessibility standards, especially for users with visual impairments. Tools like contrast checkers can accurately measure the contrast ratio and determine compliance with WCAG guidelines. Developers should aim for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. When using this color for interactive elements, ensure that hover and focus states are clearly distinguishable, perhaps by using a slightly lighter or darker shade of blue or adding an outline. The royal blue hue can enhance visual appeal but should not compromise accessibility.

Shades

Digital Color Formats

RGB
49 88 247
RGB49 88 247
Red
Green
Blue
HSL
228.18deg 92.52% 58.04%
228.1892.5258.04HSL
Hue
Saturation
Lightness
HWB
228.18deg 19.22% 3.14%
228.1819.223.14HWB
Hue
Whiteness
Blackness
hex#3158F7
rgb49 88 247
hsl228.18deg 92.52% 58.04%
cmyk80.16% 64.37% 0% 3.14%
hwb228.18deg 19.22% 3.14%
xyz-d650.22 0.14 0.9
oklch0.5403 0.2401 266.79
oklab0.5403 -0.01 -0.24
CMYK
80.16% 64.37% 0% 3.14%
80.1664.3703.14CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.22 0.14 0.9
0.220.140.9XYZ
X
Y
Z
OKLCH
0.5403 0.2401 266.79
0.54030.2401266.79LCH
Lightness
Chroma
Hue
OKLAB
0.5403 -0.01 -0.24
0.5403-0.01-0.24LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons