#21578D#21578D

#21578D is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.9% C 0.105 H 251.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#21578D
RGBrgb(33, 87, 141)
HSLhsl(210, 62%, 34%)
HSVhsv(210, 77%, 55%)
CMYKcmyk(76.6%, 38.3%, 0%, 44.7%)
CIE-LABlab(36.10, 1.97, -35.00)
CIE-LCHlch(36.10, 35.06, 273.22°)
OKLaboklab(44.91% -0.0336 -0.0997)
OKLCHoklch(44.91% 0.105 251.4)
XYZxyz(8.8413, 9.0618, 26.4773)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21578D #8D5721
analogous
#218D8D #21578D #21218D
triadic
#21578D #8D2157 #578D21
tetradic
#21578D #8D218D #8D5721 #218D21
square
#21578D #8D218D #8D5721 #218D21
split-complementary
#21578D #8D2121 #8D8D21
monochromatic
#0A1A2A #15385B #21578D #2D76BF #5294D6

Accessibility & contrast

On white

7.47
#21578D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#21578D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21578D
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21578D#FFFFFF#000000##FFFFFF
##21578D1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8F
Deuteranopia (green-blind)
#2E508C
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #21578d;
/* rgb */ color: rgb(33, 87, 141);
/* oklch */ color: oklch(44.9% 0.105 251.4);
Tailwind
colors: {
  custom: {
    50: '#6c86ae',
    500: '#21578d',
    950: '#000000',
  },
}
SCSS
$custom: #21578d;
$custom-light: #6c86ae;
$custom-dark: #000000;
JSON
{
  "hex": "#21578d",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 141
  },
  "hsl": {
    "h": 210,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44909,
    "c": 0.10522,
    "h": 251.4
  },
  "luminance": 0.09063
}

Semantic roles & 50–950 ramp

primary
#21578D
secondary
#BA8550
accent
#9443E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #21578D

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

Preview Lab → · Contrast checker → · Palette generator →

#21578D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva