#21577F#21577F

#21577F is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.1% C 0.087 H 244.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#21577F
RGBrgb(33, 87, 127)
HSLhsl(206, 59%, 31%)
HSVhsv(206, 74%, 50%)
CMYKcmyk(74%, 31.5%, 0%, 50.2%)
CIE-LABlab(35.34, -3.43, -27.64)
CIE-LCHlch(35.34, 27.85, 262.93°)
OKLaboklab(44.06% -0.0378 -0.0782)
OKLCHoklch(44.06% 0.087 244.2)
XYZxyz(7.8647, 8.6712, 21.3338)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21577F #7F4921
analogous
#217F78 #21577F #21287F
triadic
#21577F #7F2157 #577F21
tetradic
#21577F #78217F #7F4921 #287F21
square
#21577F #78217F #7F4921 #287F21
split-complementary
#21577F #7F2128 #7F7821
monochromatic
#08141E #14364E #21577F #2E78B0 #4A97D0

Accessibility & contrast

On white

7.68
#21577F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21577F
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21577F#FFFFFF#000000##FFFFFF
##21577F1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21577f;
/* rgb */ color: rgb(33, 87, 127);
/* oklch */ color: oklch(44.1% 0.087 244.2);
Tailwind
colors: {
  custom: {
    50: '#6986a4',
    500: '#21577f',
    950: '#000000',
  },
}
SCSS
$custom: #21577f;
$custom-light: #6986a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21577f",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 127
  },
  "hsl": {
    "h": 205.532,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44063,
    "c": 0.08687,
    "h": 244.2
  },
  "luminance": 0.08672
}

Semantic roles & 50–950 ramp

primary
#21577F
secondary
#B2764A
accent
#8846E2
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #21577F

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

Preview Lab → · Contrast checker → · Palette generator →

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