#21587A#21587A

#21587A is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.0% C 0.080 H 239.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#21587A
RGBrgb(33, 88, 122)
HSLhsl(203, 57%, 30%)
HSVhsv(203, 73%, 48%)
CMYKcmyk(73%, 27.9%, 0%, 52.2%)
CIE-LABlab(35.41, -5.94, -24.45)
CIE-LCHlch(35.41, 25.16, 256.35°)
OKLaboklab(44.04% -0.0406 -0.0689)
OKLCHoklch(44.04% 0.08 239.5)
XYZxyz(7.6284, 8.7071, 19.6872)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21587A #7A4321
analogous
#217A6F #21587A #212C7A
triadic
#21587A #7A2158 #587A21
tetradic
#21587A #6F217A #7A4321 #2C7A21
square
#21587A #6F217A #7A4321 #2C7A21
split-complementary
#21587A #7A212C #7A6F21
monochromatic
#07131A #14354A #21587A #2E7BAA #489ACD

Accessibility & contrast

On white

7.66
#21587A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#21587A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21587A
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21587A#FFFFFF#000000##FFFFFF
##21587A1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21587a;
/* rgb */ color: rgb(33, 88, 122);
/* oklch */ color: oklch(44.0% 0.080 239.5);
Tailwind
colors: {
  custom: {
    50: '#6887a0',
    500: '#21587a',
    950: '#000000',
  },
}
SCSS
$custom: #21587a;
$custom-light: #6887a0;
$custom-dark: #000000;
JSON
{
  "hex": "#21587a",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 122
  },
  "hsl": {
    "h": 202.921,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.44037,
    "c": 0.07999,
    "h": 239.5
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#21587A
secondary
#AD704A
accent
#8247E1
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #21587A

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

Preview Lab → · Contrast checker → · Palette generator →

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