#21577C#21577C

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

Color values

HEX#21577C
RGBrgb(33, 87, 124)
HSLhsl(204, 58%, 31%)
HSVhsv(204, 73%, 49%)
CMYKcmyk(73.4%, 29.8%, 0%, 51.4%)
CIE-LABlab(35.19, -4.56, -26.03)
CIE-LCHlch(35.19, 26.43, 260.06°)
OKLaboklab(43.89% -0.0388 -0.0735)
OKLCHoklch(43.89% 0.083 242.2)
XYZxyz(7.6721, 8.5941, 20.3194)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21577C #7C4621
analogous
#217C73 #21577C #21297C
triadic
#21577C #7C2157 #577C21
tetradic
#21577C #73217C #7C4621 #297C21
square
#21577C #73217C #7C4621 #297C21
split-complementary
#21577C #7C2129 #7C7321
monochromatic
#07131B #14354C #21577C #2E79AC #4998CF

Accessibility & contrast

On white

7.72
#21577C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#21577C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21577C
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21577C#FFFFFF#000000##FFFFFF
##21577C1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587E
Deuteranopia (green-blind)
#3A4F7B
Tritanopia (blue-blind)
#006064
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #21577c;
/* rgb */ color: rgb(33, 87, 124);
/* oklch */ color: oklch(43.9% 0.083 242.2);
Tailwind
colors: {
  custom: {
    50: '#6986a2',
    500: '#21577c',
    950: '#000000',
  },
}
SCSS
$custom: #21577c;
$custom-light: #6986a2;
$custom-dark: #000000;
JSON
{
  "hex": "#21577c",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 124
  },
  "hsl": {
    "h": 204.396,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43892,
    "c": 0.08314,
    "h": 242.2
  },
  "luminance": 0.08595
}

Semantic roles & 50–950 ramp

primary
#21577C
secondary
#AF734A
accent
#8547E1
background
#F6F8FA
surface
#EBEFF3
border
#C6CACD
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #21577C

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

Preview Lab → · Contrast checker → · Palette generator →

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