#21587C#21587C

#21587C is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.1% C 0.082 H 241.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#21587C
RGBrgb(33, 88, 124)
HSLhsl(204, 58%, 31%)
HSVhsv(204, 73%, 49%)
CMYKcmyk(73.4%, 29%, 0%, 51.4%)
CIE-LABlab(35.51, -5.19, -25.53)
CIE-LCHlch(35.51, 26.05, 258.51°)
OKLaboklab(44.15% -0.0399 -0.0721)
OKLCHoklch(44.15% 0.082 241)
XYZxyz(7.7536, 8.7572, 20.3465)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21587C #7C4521
analogous
#217C72 #21587C #212A7C
triadic
#21587C #7C2158 #587C21
tetradic
#21587C #72217C #7C4521 #2A7C21
square
#21587C #72217C #7C4521 #2A7C21
split-complementary
#21587C #7C212A #7C7221
monochromatic
#07131B #14364C #21587C #2E7AAC #499ACF

Accessibility & contrast

On white

7.63
#21587C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21587C
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21587C#FFFFFF#000000##FFFFFF
##21587C1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587E
Deuteranopia (green-blind)
#3B507B
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #21587c;
/* rgb */ color: rgb(33, 88, 124);
/* oklch */ color: oklch(44.1% 0.082 241.0);
Tailwind
colors: {
  custom: {
    50: '#6987a2',
    500: '#21587c',
    950: '#000000',
  },
}
SCSS
$custom: #21587c;
$custom-light: #6987a2;
$custom-dark: #000000;
JSON
{
  "hex": "#21587c",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 124
  },
  "hsl": {
    "h": 203.736,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44147,
    "c": 0.08236,
    "h": 241
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#21587C
secondary
#AF724A
accent
#8447E1
background
#F6F8FA
surface
#EBEFF3
border
#C6CACD
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #21587C

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

Preview Lab → · Contrast checker → · Palette generator →

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