#21578E#21578E

#21578E is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 45.0% C 0.107 H 251.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#21578E
RGBrgb(33, 87, 142)
HSLhsl(210, 62%, 34%)
HSVhsv(210, 77%, 56%)
CMYKcmyk(76.8%, 38.7%, 0%, 44.3%)
CIE-LABlab(36.16, 2.36, -35.52)
CIE-LCHlch(36.16, 35.60, 273.80°)
OKLaboklab(44.97% -0.0333 -0.1012)
OKLCHoklch(44.97% 0.107 251.8)
XYZxyz(8.9160, 9.0917, 26.8709)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21578E #8E5821
analogous
#218E8E #21578E #21218E
triadic
#21578E #8E2157 #578E21
tetradic
#21578E #8E218E #8E5821 #218E21
square
#21578E #8E218E #8E5821 #218E21
split-complementary
#21578E #8E2121 #8E8E21
monochromatic
#0A1A2B #15395C #21578E #2D75C0 #5294D7

Accessibility & contrast

On white

7.45
#21578E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#21578E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21578E
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21578E#FFFFFF#000000##FFFFFF
##21578E1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21578e;
/* rgb */ color: rgb(33, 87, 142);
/* oklch */ color: oklch(45.0% 0.107 251.8);
Tailwind
colors: {
  custom: {
    50: '#6c86af',
    500: '#21578e',
    950: '#000000',
  },
}
SCSS
$custom: #21578e;
$custom-light: #6c86af;
$custom-dark: #000000;
JSON
{
  "hex": "#21578e",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 142
  },
  "hsl": {
    "h": 210.275,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44972,
    "c": 0.10657,
    "h": 251.8
  },
  "luminance": 0.09093
}

Semantic roles & 50–950 ramp

primary
#21578E
secondary
#BA8650
accent
#9542E5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #21578E

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

Preview Lab → · Contrast checker → · Palette generator →

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