#21558E#21558E

#21558E is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.5% C 0.109 H 253.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#21558E
RGBrgb(33, 85, 142)
HSLhsl(211, 62%, 34%)
HSVhsv(211, 77%, 56%)
CMYKcmyk(76.8%, 40.1%, 0%, 44.3%)
CIE-LABlab(35.54, 3.66, -36.50)
CIE-LCHlch(35.54, 36.68, 275.72°)
OKLaboklab(44.49% -0.0314 -0.1041)
OKLCHoklch(44.49% 0.109 253.2)
XYZxyz(8.7564, 8.7723, 26.8177)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21558E #8E5A21
analogous
#218C8E #21558E #23218E
triadic
#21558E #8E2155 #558E21
tetradic
#21558E #8E218C #8E5A21 #218E23
square
#21558E #8E218C #8E5A21 #218E23
split-complementary
#21558E #8E2321 #8C8E21
monochromatic
#0A1A2B #15375C #21558E #2D73C0 #5292D7

Accessibility & contrast

On white

7.62
#21558E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#21558E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21558E
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21558E#FFFFFF#000000##FFFFFF
##21558E1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5990
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #21558e;
/* rgb */ color: rgb(33, 85, 142);
/* oklch */ color: oklch(44.5% 0.109 253.2);
Tailwind
colors: {
  custom: {
    50: '#6c84af',
    500: '#21558e',
    950: '#000000',
  },
}
SCSS
$custom: #21558e;
$custom-light: #6c84af;
$custom-dark: #000000;
JSON
{
  "hex": "#21558e",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 142
  },
  "hsl": {
    "h": 211.376,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44489,
    "c": 0.10877,
    "h": 253.2
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#21558E
secondary
#BA8850
accent
#9842E5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #21558E

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

Preview Lab → · Contrast checker → · Palette generator →

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