Free Accessible CSS Gradient Generator

← All Colors
#5F9EA0 Cadet Blue

Cadet Blue Hex Code #5F9EA0

Cadet Blue is a light, moderate cyan with the hex code #5F9EA0. In RGB it is 95, 158, 160, and in HSL it is 182°, 25%, 50%. It is one of the 148 named colors in CSS, so you can write “cadetblue” instead of the hex code.

HEX
#5F9EA0
RGB
rgb(95, 158, 160)
HSL
hsl(182, 25%, 50%)
HSV
hsv(182°, 41%, 63%)
CMYK
cmyk(41%, 1%, 0%, 37%)
CSS name
cadetblue

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Cadet Blue

On a white background Cadet Blue has a contrast ratio of 3.05:1 (AA Large), and on black 6.88:1 (AA). Black text is the better choice on top of it.

It sits on the cool side of the color wheel, a range that tends to feel calm and appears to recede.

Cyan, teal and turquoise sit between green and blue and feel fresh and clean. They are popular in technology, health and water-related designs.

Shades and tints of Cadet Blue

Tints mix Cadet Blue with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Cadet Blue

These schemes are calculated from Cadet Blue on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Cadet Blue is #A0725F, close to the named color Rosy Brown.

Cadet Blue contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Cadet Blue scores against white and black.

Contrast of Cadet Blue with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 3.05:1 ✕ Fail ✓ Pass ✕ Fail ✕ Fail
Black (#000000) 6.88:1 ✓ Pass ✓ Pass ✕ Fail ✓ Pass
Aa White text on Cadet Blue3.05:1
Aa Black text on Cadet Blue6.88:1

Cadet Blue and color blindness

These are approximate previews of how Cadet Blue can look with the main types of color vision deficiency.

Protanopia #9699A0

Cadet Blue changes noticeably.

Deuteranopia #8B90A0

Cadet Blue changes noticeably.

Tritanopia #42A29E

Cadet Blue shifts slightly.

Achromatopsia #949494

Cadet Blue changes noticeably.

Gradients with Cadet Blue

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Cadet Blue to a lighter tint

background: linear-gradient(135deg, #5f9ea0 0%, #bfd8d9 100%);

Cadet Blue to its analogous neighbour

background: linear-gradient(135deg, #5f9ea0 0%, #5f7ea0 100%);

Cadet Blue to its complement

background: linear-gradient(135deg, #5f9ea0 0%, #a0615f 100%);

Colors similar to Cadet Blue

How each close match differs from Cadet Blue.

More cyan & teal colors →

Use Cadet Blue in code

CSS
.element {
  color: #5f9ea0;
  background-color: #5f9ea0;
  border-color: cadetblue;   /* cadetblue is a valid CSS color name */
}
CSS variable
:root {
  --color-cadet-blue: #5f9ea0;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#5f9ea0] text-[#5f9ea0] border-[#5f9ea0]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-cadet-blue: #5f9ea0;
}

Cadet Blue questions

What is the hex code for Cadet Blue?

The hex code for Cadet Blue is #5F9EA0. In RGB that is rgb(95, 158, 160), and in HSL it is hsl(182, 25%, 50%).

What is the complementary color of Cadet Blue?

On the RGB (screen) color wheel, the complement of Cadet Blue is #A0615F, which is close to Rosy Brown. On the artist’s RYB wheel it is #A0725F, close to Rosy Brown.

Should I use white or black text on Cadet Blue?

Black text. It has a contrast ratio of 6.88:1 against Cadet Blue, which is WCAG AA. The other option scores 3.05:1.

Is Cadet Blue accessible as a text color on white?

Only for large text. Cadet Blue on white scores 3.05:1, which passes WCAG AA for large text (3:1) but not for normal text (4.5:1).

What are darker and lighter shades of Cadet Blue?

Mixing Cadet Blue with black gives #4C7E80, #395F60, #263F40, #132020 (20% to 80% black). Mixing it with white gives #7FB1B3, #9FC5C6, #BFD8D9, #DFECEC (20% to 80% white).

More color tools