Toolman

cadetblue — #5F9EA0

#5F9EA0

rgb(95, 158, 160) · hsl(182, 25%, 50%) · CSS keyword cadetblue

Can you put text on it?

ContrastBody textLarge text
cadetblue on white3.05:1AA
cadetblue on black6.88:1AAAA

As a background, cadetblue takes black text: 6.88:1 against 3.05:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.

Using it

color: cadetblue;
color: #5f9ea0;
color: rgb(95 158 160);

All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.

Colours close to cadetblue

Frequently asked questions

What is the hex code for cadetblue?

The hex code for cadetblue is #5F9EA0 — RGB 95, 158, 160.

Can I use cadetblue for text?

Only for large text. cadetblue reaches 3.05:1 against white — enough for the 3:1 of headings at 24px or 18.5px bold, short of the 4.5:1 body text needs.

Should text on cadetblue be black or white?

Black — 6.88:1 against 3.05:1 the other way.

Other named colours

#5F9EA0 in full — tints, shades and harmonies · All named colours · Colour reference