CSS named color
CadetBlue #5F9EA0
CadetBlue is a muted cyan with the hex code #5F9EA0, which converts to rgb(95, 158, 160). Open #5F9EA0 in the converter to tweak it.
CadetBlue color values
| HEX | #5F9EA0 |
|---|---|
| HEX (shorthand) | — |
| RGB | rgb(95, 158, 160) |
| RGBA | rgba(95, 158, 160, 1) |
| 8-digit HEX | #5F9EA0FF |
| HSL | hsl(182, 25%, 50%) |
| HSV / HSB | 182°, 41%, 63% |
| CMYK | 41%, 1%, 0%, 37% |
| RGB 0–1 | 0.373, 0.62, 0.627 |
| Decimal | 6266528 |
| CSS keyword | cadetblue |
How #5F9EA0 converts to RGB
Split the hex code into three pairs and read each pair as a base-16 number: 5F → 95, 9E → 158, A0 → 160. That gives rgb(95, 158, 160). The step-by-step guide explains the math.
Shades of CadetBlue
Mixed toward black in 10% steps. Click a swatch to copy its hex.
Tints of CadetBlue
Mixed toward white in 10% steps.
Color harmonies
Hue rotations of CadetBlue on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.
Complementary
Analogous
Split-complementary
Triadic
Tetradic (square)
Contrast and accessibility
| Text | Background | Ratio | WCAG 2.x |
|---|---|---|---|
| White | CadetBlue | 3.05:1 | AA Large only |
| Black | CadetBlue | 6.88:1 | AA |
Use black text on a cadetblue background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.
Use CadetBlue in CSS
.element {
color: cadetblue; /* keyword */
background-color: #5F9EA0; /* hex */
border-color: rgb(95 158 160 / 50%); /* 50% transparent */
}
Need it semi-transparent? Append an alpha byte: #5F9EA080 is CadetBlue at 50% opacity. See RGBA & transparency.
Similar named colors
FAQ
What is the HEX code for CadetBlue?
The CSS named color cadetblue is #5F9EA0 in hexadecimal. In CSS you can write color: cadetblue; or color: #5F9EA0; — both produce the same pixel.
What is CadetBlue in RGB?
CadetBlue is rgb(95, 158, 160): red 95, green 158, blue 160 on the 0–255 scale. As normalized 0–1 floats that is (0.373, 0.62, 0.627).
Is white or black text more readable on CadetBlue?
Black text is more readable. White on #5F9EA0 has a contrast ratio of 3.05:1 (AA Large only), black on #5F9EA0 has 6.88:1 (AA). WCAG AA needs 4.5:1 for normal text.