#21577B#21577B

#21577B is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 43.8% C 0.082 H 241.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#21577B
RGBrgb(33, 87, 123)
HSLhsl(204, 58%, 31%)
HSVhsv(204, 73%, 48%)
CMYKcmyk(73.2%, 29.3%, 0%, 51.8%)
CIE-LABlab(35.14, -4.94, -25.49)
CIE-LCHlch(35.14, 25.97, 259.04°)
OKLaboklab(43.84% -0.0391 -0.072)
OKLCHoklch(43.84% 0.082 241.5)
XYZxyz(7.6092, 8.5689, 19.9880)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21577B #7B4521
analogous
#217B72 #21577B #212A7B
triadic
#21577B #7B2157 #577B21
tetradic
#21577B #72217B #7B4521 #2A7B21
square
#21577B #72217B #7B4521 #2A7B21
split-complementary
#21577B #7B212A #7B7221
monochromatic
#07131A #14354B #21577B #2E79AB #4899CE

Accessibility & contrast

On white

7.74
#21577B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#21577B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21577B
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21577B#FFFFFF#000000##FFFFFF
##21577B1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577D
Deuteranopia (green-blind)
#3A4F7A
Tritanopia (blue-blind)
#006064
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #21577b;
/* rgb */ color: rgb(33, 87, 123);
/* oklch */ color: oklch(43.8% 0.082 241.5);
Tailwind
colors: {
  custom: {
    50: '#6986a1',
    500: '#21577b',
    950: '#000000',
  },
}
SCSS
$custom: #21577b;
$custom-light: #6986a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21577b",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 123
  },
  "hsl": {
    "h": 204,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43836,
    "c": 0.08193,
    "h": 241.5
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#21577B
secondary
#AE724A
accent
#8447E1
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0F
muted
#7A7C7E

Preview Lab

Preview with #21577B

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

Preview Lab → · Contrast checker → · Palette generator →

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