Royal Blue

#305AF8

General Information about Royal Blue (#305AF8)

The hex color #305af8, commonly known as Royal Blue, is a vibrant and saturated shade of blue. It falls within the blue color family and is characterized by its strong, regal appearance. Hexadecimal color codes are a standard way to represent colors in HTML, CSS, and other digital design applications. The # symbol indicates that the following six characters represent the red, green, and blue (RGB) components of the color, with each component represented by two hexadecimal digits (00 to FF). Royal Blue is often associated with qualities such as trust, loyalty, wisdom, confidence, intelligence, faith, truth, and heaven. In color psychology, blue is known to have a calming and soothing effect, making it a popular choice for various applications where these associations are desired.

The hex color #305af8, a shade of royal blue, presents some accessibility considerations for web design. When used as a background color, it's crucial to ensure sufficient contrast with the text color to meet WCAG guidelines. A light text color like white (#ffffff) may work, but it is recommended to verify the contrast ratio using an accessibility checker. If used for text, the color should be paired with a background that offers high contrast. Visually impaired users might have difficulty distinguishing elements if the color contrast is inadequate. It's important to consider those using assistive technologies, and provide alternative text or cues. Regular testing with accessibility tools is highly recommended. Consideration should be given to users with color vision deficiencies by providing additional cues beyond color to convey information. The size and weight of the font can affect the readability with this color and should be chosen with that in mind.

Shades

Digital Color Formats

RGB
48 90 248
RGB48 90 248
Red
Green
Blue
HSL
227.4deg 93.46% 58.04%
227.493.4658.04HSL
Hue
Saturation
Lightness
HWB
227.4deg 18.82% 2.75%
227.418.822.75HWB
Hue
Whiteness
Blackness
hex#305AF8
rgb48 90 248
hsl227.4deg 93.46% 58.04%
cmyk80.65% 63.71% 0% 2.75%
hwb227.4deg 18.82% 2.75%
xyz-d650.22 0.15 0.9
oklch0.5443 0.2393 266.38
oklab0.5443 -0.02 -0.24
CMYK
80.65% 63.71% 0% 2.75%
80.6563.7102.75CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.22 0.15 0.9
0.220.150.9XYZ
X
Y
Z
OKLCH
0.5443 0.2393 266.38
0.54430.2393266.38LCH
Lightness
Chroma
Hue
OKLAB
0.5443 -0.02 -0.24
0.5443-0.02-0.24LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons