#21558B#21558B

#21558B is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.3% C 0.105 H 252.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#21558B
RGBrgb(33, 85, 139)
HSLhsl(211, 62%, 34%)
HSVhsv(211, 76%, 55%)
CMYKcmyk(76.3%, 38.8%, 0%, 45.5%)
CIE-LABlab(35.37, 2.48, -34.95)
CIE-LCHlch(35.37, 35.04, 274.06°)
OKLaboklab(44.3% -0.0322 -0.0996)
OKLCHoklch(44.3% 0.105 252.1)
XYZxyz(8.5342, 8.6834, 25.6474)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21558B #8B5721
analogous
#218A8B #21558B #22218B
triadic
#21558B #8B2155 #558B21
tetradic
#21558B #8B218A #8B5721 #218B22
square
#21558B #8B218A #8B5721 #218B22
split-complementary
#21558B #8B2221 #8A8B21
monochromatic
#0A1928 #15375A #21558B #2D73BC #5192D6

Accessibility & contrast

On white

7.67
#21558B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#21558B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21558B
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21558B#FFFFFF#000000##FFFFFF
##21558B1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598D
Deuteranopia (green-blind)
#2C4F8A
Tritanopia (blue-blind)
#006269
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #21558b;
/* rgb */ color: rgb(33, 85, 139);
/* oklch */ color: oklch(44.3% 0.105 252.1);
Tailwind
colors: {
  custom: {
    50: '#6c84ad',
    500: '#21558b',
    950: '#000000',
  },
}
SCSS
$custom: #21558b;
$custom-light: #6c84ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21558b",
  "rgb": {
    "r": 33,
    "g": 85,
    "b": 139
  },
  "hsl": {
    "h": 210.566,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44296,
    "c": 0.10467,
    "h": 252.1
  },
  "luminance": 0.08684
}

Semantic roles & 50–950 ramp

primary
#21558B
secondary
#B9854F
accent
#9543E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #21558B

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

Preview Lab → · Contrast checker → · Palette generator →

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