#21557E#21557E

#21557E is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.5% C 0.087 H 245.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#21557E
RGBrgb(33, 85, 126)
HSLhsl(206, 58%, 31%)
HSVhsv(206, 74%, 49%)
CMYKcmyk(73.8%, 32.5%, 0%, 50.6%)
CIE-LABlab(34.65, -2.54, -28.11)
CIE-LCHlch(34.65, 28.22, 264.83°)
OKLaboklab(43.5% -0.036 -0.0796)
OKLCHoklch(43.5% 0.087 245.7)
XYZxyz(7.6402, 8.3258, 20.9390)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21557E #7E4A21
analogous
#217E78 #21557E #21267E
triadic
#21557E #7E2155 #557E21
tetradic
#21557E #78217E #7E4A21 #267E21
square
#21557E #78217E #7E4A21 #267E21
split-complementary
#21557E #7E2126 #7E7821
monochromatic
#08141D #14344E #21557E #2E76AE #4A95D0

Accessibility & contrast

On white

7.88
#21557E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#21557E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21557E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21557E#FFFFFF#000000##FFFFFF
##21557E1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425680
Deuteranopia (green-blind)
#354E7D
Tritanopia (blue-blind)
#005F64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #21557e;
/* rgb */ color: rgb(33, 85, 126);
/* oklch */ color: oklch(43.5% 0.087 245.7);
Tailwind
colors: {
  custom: {
    50: '#6984a3',
    500: '#21557e',
    950: '#000000',
  },
}
SCSS
$custom: #21557e;
$custom-light: #6984a3;
$custom-dark: #000000;
JSON
{
  "hex": "#21557e",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 126
  },
  "hsl": {
    "h": 206.452,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43501,
    "c": 0.08737,
    "h": 245.7
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#21557E
secondary
#B1774A
accent
#8B46E2
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #21557E

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

Preview Lab → · Contrast checker → · Palette generator →

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