Royal Blue color — #4169E1
Royal Blue is a CSS named color with the HEX code #4169E1, RGB value rgb(65, 105, 225) and HSL value hsl(225, 73%, 57%).
Blue
Royal Blue
#4169E1
Color codes
- HEX
- #4169E1
- RGB
- rgb(65, 105, 225)
- HSL
- hsl(225, 73%, 57%)
- HSV
- hsv(225, 71%, 88%)
- CMYK
- cmyk(71%, 53%, 0%, 12%)
- OKLCH
- oklch(55.98% 0.1882 266.4)
CSS usage
In CSS you can use the keyword or any equivalent value:
.element {
color: royalblue;
background-color: #4169e1;
border-color: rgb(65, 105, 225);
outline-color: hsl(225, 73%, 57%);
}Shades
Tints
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Contrast ratio
Contrast ratio against white and black text, per WCAG 2.2.
Royal Blue — On white4.84:1 · AA
Royal Blue — On black4.33:1 · AA Large