#21577E#21577E

#21577E is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.0% C 0.086 H 243.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#21577E
RGBrgb(33, 87, 126)
HSLhsl(205, 58%, 31%)
HSVhsv(205, 74%, 49%)
CMYKcmyk(73.8%, 31%, 0%, 50.6%)
CIE-LABlab(35.29, -3.81, -27.10)
CIE-LCHlch(35.29, 27.37, 262.00°)
OKLaboklab(44.01% -0.0381 -0.0766)
OKLCHoklch(44.01% 0.086 243.6)
XYZxyz(7.7998, 8.6452, 20.9922)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21577E #7E4821
analogous
#217E76 #21577E #21287E
triadic
#21577E #7E2157 #577E21
tetradic
#21577E #76217E #7E4821 #287E21
square
#21577E #76217E #7E4821 #287E21
split-complementary
#21577E #7E2128 #7E7621
monochromatic
#08141D #14364E #21577E #2E78AE #4A97D0

Accessibility & contrast

On white

7.69
#21577E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#21577E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21577E
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21577E#FFFFFF#000000##FFFFFF
##21577E1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455880
Deuteranopia (green-blind)
#384F7D
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #21577e;
/* rgb */ color: rgb(33, 87, 126);
/* oklch */ color: oklch(44.0% 0.086 243.6);
Tailwind
colors: {
  custom: {
    50: '#6986a3',
    500: '#21577e',
    950: '#000000',
  },
}
SCSS
$custom: #21577e;
$custom-light: #6986a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21577e",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 126
  },
  "hsl": {
    "h": 205.161,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44006,
    "c": 0.08561,
    "h": 243.6
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#21577E
secondary
#B1754A
accent
#8746E2
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #21577E

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

Preview Lab → · Contrast checker → · Palette generator →

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