CSS Named Color
Copy-ready color values
HEX
#4169E1RGB
rgb(65, 105, 225)HSL
hsl(225, 73%, 57%)HSV
hsv(225, 71%, 88%)CMYK approx.
cmyk(71, 53, 0, 12)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #4169E1 | |
| RGB | rgb(65, 105, 225) | |
| HSL | hsl(225, 73%, 57%) | |
| HSV | hsv(225, 71%, 88%) | |
| CMYK approx. | cmyk(71, 53, 0, 12) | |
| CSS keyword | royalblue |
Contrast and classification
LightLightness4.85:1Contrast with white4.33:1Contrast with blackBlue / CyanColor family
Shade and tint preview
White 10%#5478E4
White 30%#7A96EA
White 70%#C6D2F6
White 90%#ECF0FC
Black 10%#3B5FCB
Black 30%#2E4A9E
Black 70%#142044
Black 90%#070B17
Harmony palettes
Complementary
#BE961E#CEAF54Analogous
#4669CE#4177D3Triadic
#69E141#E14169Split complementary
#CAA947#9C7B19Using Royalblue
Royalblue works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.
CSS, SCSS, and Tailwind examples
:root {
--color-royalblue: #4169e1;
}
.button-primary {
background: var(--color-royalblue);
color: #ffffff;
}
$royalblue: #4169e1;
// Tailwind arbitrary value
class="bg-[#4169e1] text-white"