#21587B#21587B

#21587B is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.1% C 0.081 H 240.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#21587B
RGBrgb(33, 88, 123)
HSLhsl(203, 58%, 31%)
HSVhsv(203, 73%, 48%)
CMYKcmyk(73.2%, 28.5%, 0%, 51.8%)
CIE-LABlab(35.46, -5.56, -24.99)
CIE-LCHlch(35.46, 25.60, 257.45°)
OKLaboklab(44.09% -0.0402 -0.0705)
OKLCHoklch(44.09% 0.081 240.3)
XYZxyz(7.6907, 8.7320, 20.0152)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21587B #7B4421
analogous
#217B71 #21587B #212B7B
triadic
#21587B #7B2158 #587B21
tetradic
#21587B #71217B #7B4421 #2B7B21
square
#21587B #71217B #7B4421 #2B7B21
split-complementary
#21587B #7B212B #7B7121
monochromatic
#07131A #14354B #21587B #2E7BAB #489ACE

Accessibility & contrast

On white

7.65
#21587B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#21587B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21587B
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21587B#FFFFFF#000000##FFFFFF
##21587B1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587D
Deuteranopia (green-blind)
#3B507A
Tritanopia (blue-blind)
#006164
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #21587b;
/* rgb */ color: rgb(33, 88, 123);
/* oklch */ color: oklch(44.1% 0.081 240.3);
Tailwind
colors: {
  custom: {
    50: '#6987a1',
    500: '#21587b',
    950: '#000000',
  },
}
SCSS
$custom: #21587b;
$custom-light: #6987a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21587b",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 123
  },
  "hsl": {
    "h": 203.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.44092,
    "c": 0.08118,
    "h": 240.3
  },
  "luminance": 0.08733
}

Semantic roles & 50–950 ramp

primary
#21587B
secondary
#AE714A
accent
#8347E1
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0F
muted
#7A7C7E

Preview Lab

Preview with #21587B

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

Preview Lab → · Contrast checker → · Palette generator →

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