Cadet Blue color (#5F9EA0)
Cadet Blue is one of the 148 CSS named colors. Use the keyword cadetblue
anywhere CSS accepts a color, or its hex code #5F9EA0, which is rgb(95, 158, 160) in RGB.
It is a medium, moderately saturated cool color with a hue angle of 182° on the HSL color wheel and a perceived lightness of 66% in OKLCH. On a cadet blue background, black text gives the higher contrast at 6.88:1, which passes WCAG AA for normal text.
Cadet Blue color codes
| CSS name | cadetblue |
|
|---|---|---|
| HEX | #5F9EA0 |
|
| HEX (8-digit) | #5F9EA0FF |
|
| RGB | rgb(95, 158, 160) |
|
| HSL | hsl(182, 26%, 50%) |
|
| HSV / HSB | hsv(182, 41%, 63%) |
|
| OKLCH | oklch(65.8% 0.065 198.3) |
|
| CMYK | cmyk(40.6%, 1.2%, 0%, 37.3%) |
Contrast with white and black
WCAG 2 contrast ratios and APCA lightness contrast (Lc) for cadet blue used as text and as a background.
Tints and shades of cadet blue
Tints mix cadet blue with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.
Tints
Shades
Colors that go with cadet blue
Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.
Complementary
Analogous
Triadic
Split-Complementary
Cadet Blue with color blindness
Approximately how cadet blue appears with each type of color vision deficiency. Test full designs with the color blindness simulator.
Using cadet blue in CSS
.element {
color: cadetblue;
background-color: #5f9ea0;
border-color: rgb(95 158 160 / 50%);
outline-color: oklch(65.8% 0.065 198.3);
}Similar named colors
See all shades of blue or browse every CSS color name.