Cadet Blue color: hex #5f9ea0, RGB and HSL
Cadet Blue is the CSS keyword cadetblue, hex #5f9ea0, rgb(95, 158, 160), hsl(182, 25%, 50%). It is a medium, soft cyan in the blues family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.
- CSS name
- cadetblue
- Hex
- #5f9ea0
- RGB
- rgb(95, 158, 160)
- HSL
- hsl(182, 25%, 50%)
- On white
- 3.05:1 — large text and UI only (3:1)
- On black
- 6.88:1 — passes AA for body text
.example {
color: cadetblue; /* keyword */
color: #5f9ea0; /* hex */
color: rgb(95, 158, 160); /* rgb */
color: hsl(182, 25%, 50%); /* hsl */
}What colors go with cadet blue
Each match keeps cadet blue's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside cadet blue as the primary; the harmony guides explain which rule suits which interface.
Complementary
The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.
Split-complementary
The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.
Triadic
Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.
Analogous
The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.
Tints and shades of cadet blue
Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as cadet blue — these are the hover, pressed, disabled and surface variants a single brand color needs.
Tints (lighter)
Shades (darker)
A UI color palette built from cadet blue
The eight semantic roles an interface actually uses, derived from cadet blue as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.
- primary
- #5f9ea0
- secondary
- #a05f7e
- accent
- #a0815f
- background
- #fcfdfd
- surface
- #f4f6f6
- text
- #161d1d
- muted
- #677e7e
- border
- #e3e8e8
- primary
- #6fa8aa
- secondary
- #aa6f8a
- accent
- #aa8e6f
- background
- #121717
- surface
- #1b2223
- text
- #f4f6f6
- muted
- #9facad
- border
- #313f3f
Using cadet blue in an interface
Blue is the default interface color for a reason: it sits comfortably behind content, it has a wide usable lightness range for hover and pressed states, and its complement (orange) leaves red and green free for status. Most of the good primaries in this set are here. Whichever role cadet blue takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.
- What is the hex code for Cadet Blue?
- Cadet Blue is #5f9ea0. In CSS the keyword cadetblue, the hex #5f9ea0, rgb(95, 158, 160) and hsl(182, 25%, 50%) all paint the same color.
- What colors go with Cadet Blue?
- Its complement is #a0615f, the split-complementary pair is #a05f7e and #a0815f, the triadic partners are #a05f9e and #9ea05f, and the analogous neighbors are #5fa081 and #5f7ea0. In an interface, use Cadet Blue for most colored elements and one of these for a single accent, at roughly an 80/20 split.
- What is the opposite of Cadet Blue on the color wheel?
- The opposite (complementary) color is #a0615f, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
- Can I use Cadet Blue for text?
- Cadet Blue as text on white has a contrast ratio of 3.05:1, which fails WCAG AA for body text (4.5:1) but passes for large text and UI components (3:1). On black it is 6.88:1, which passes for body text. Use it as text on dark surfaces, or as a fill with dark text on top.