Royal Blue

#312FF9

General Information about Royal Blue (#312FF9)

The hexadecimal color code #312FF9 represents a specific point in the RGB color space. It corresponds to a shade of Royal Blue, characterized by its vibrant and slightly saturated appearance. In the RGB model, this color is composed of 19.22% red, 18.82% green, and 97.65% blue. This significant presence of blue is what gives Royal Blue its distinctive hue. Hex color codes are commonly used in web development, graphic design, and other digital applications because they offer a concise and standardized way to represent colors. The color system is based on additive mixing of the primary colors.

The hex color #312FF9, a vibrant shade of Royal Blue, presents some accessibility considerations for web developers. Its relatively low luminance can cause issues with text legibility if used as a background color with light text. A contrast ratio of at least 4.5:1 is recommended for body text, and 3:1 for larger text elements. To ensure accessibility, carefully evaluate the color pairings. Using a color contrast checker is highly advised. Consider using a lighter shade of yellow, orange, or even white as the foreground color to improve readability. Also, avoid using this color as the sole means of conveying important information, as users with color vision deficiencies may struggle to distinguish it. Providing alternative visual cues, such as text labels or icons, is crucial.

Shades

Digital Color Formats

RGB
49 47 249
RGB49 47 249
Red
Green
Blue
HSL
240.59deg 94.39% 58.04%
240.5994.3958.04HSL
Hue
Saturation
Lightness
HWB
240.59deg 18.43% 2.35%
240.5918.432.35HWB
Hue
Whiteness
Blackness
hex#312FF9
rgb49 47 249
hsl240.59deg 94.39% 58.04%
cmyk80.32% 81.12% 0% 2.35%
hwb240.59deg 18.43% 2.35%
xyz-d650.19 0.1 0.9
oklch0.4855 0.2799 269.85
oklab0.4855 0 -0.28
CMYK
80.32% 81.12% 0% 2.35%
80.3281.1202.35CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.19 0.1 0.9
0.190.10.9XYZ
X
Y
Z
OKLCH
0.4855 0.2799 269.85
0.48550.2799269.85LCH
Lightness
Chroma
Hue
OKLAB
0.4855 0 -0.28
0.48550-0.28LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons