#21587E#21587E

#21587E is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.3% C 0.085 H 242.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#21587E
RGBrgb(33, 88, 126)
HSLhsl(205, 58%, 31%)
HSVhsv(205, 74%, 49%)
CMYKcmyk(73.8%, 30.2%, 0%, 50.6%)
CIE-LABlab(35.61, -4.43, -26.60)
CIE-LCHlch(35.61, 26.97, 260.54°)
OKLaboklab(44.26% -0.0392 -0.0752)
OKLCHoklch(44.26% 0.085 242.5)
XYZxyz(7.8814, 8.8083, 21.0194)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21587E #7E4721
analogous
#217E75 #21587E #21297E
triadic
#21587E #7E2158 #587E21
tetradic
#21587E #75217E #7E4721 #297E21
square
#21587E #75217E #7E4721 #297E21
split-complementary
#21587E #7E2129 #7E7521
monochromatic
#08141D #14364E #21587E #2E7AAE #4A99D0

Accessibility & contrast

On white

7.60
#21587E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#21587E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21587E
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21587E#FFFFFF#000000##FFFFFF
##21587E1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475980
Deuteranopia (green-blind)
#3A507D
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #21587e;
/* rgb */ color: rgb(33, 88, 126);
/* oklch */ color: oklch(44.3% 0.085 242.5);
Tailwind
colors: {
  custom: {
    50: '#6987a3',
    500: '#21587e',
    950: '#000000',
  },
}
SCSS
$custom: #21587e;
$custom-light: #6987a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21587e",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 126
  },
  "hsl": {
    "h": 204.516,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44259,
    "c": 0.08479,
    "h": 242.5
  },
  "luminance": 0.08809
}

Semantic roles & 50–950 ramp

primary
#21587E
secondary
#B1744A
accent
#8646E2
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #21587E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#21587E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva