#21578B#21578B

#21578B is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.8% C 0.103 H 250.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#21578B
RGBrgb(33, 87, 139)
HSLhsl(209, 62%, 34%)
HSVhsv(209, 76%, 55%)
CMYKcmyk(76.3%, 37.4%, 0%, 45.5%)
CIE-LABlab(35.99, 1.19, -33.96)
CIE-LCHlch(35.99, 33.99, 272.00°)
OKLaboklab(44.78% -0.0341 -0.0967)
OKLCHoklch(44.78% 0.103 250.5)
XYZxyz(8.6938, 9.0028, 25.7006)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21578B #8B5521
analogous
#218B8A #21578B #21228B
triadic
#21578B #8B2157 #578B21
tetradic
#21578B #8A218B #8B5521 #228B21
square
#21578B #8A218B #8B5521 #228B21
split-complementary
#21578B #8B2122 #8B8A21
monochromatic
#0A1928 #15385A #21578B #2D76BC #5194D6

Accessibility & contrast

On white

7.50
#21578B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#21578B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21578B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21578B#FFFFFF#000000##FFFFFF
##21578B1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5A8D
Deuteranopia (green-blind)
#2F508A
Tritanopia (blue-blind)
#00636A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #21578b;
/* rgb */ color: rgb(33, 87, 139);
/* oklch */ color: oklch(44.8% 0.103 250.5);
Tailwind
colors: {
  custom: {
    50: '#6c86ad',
    500: '#21578b',
    950: '#000000',
  },
}
SCSS
$custom: #21578b;
$custom-light: #6c86ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21578b",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 139
  },
  "hsl": {
    "h": 209.434,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44783,
    "c": 0.10252,
    "h": 250.5
  },
  "luminance": 0.09004
}

Semantic roles & 50–950 ramp

primary
#21578B
secondary
#B9834F
accent
#9243E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #21578B

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

Preview Lab → · Contrast checker → · Palette generator →

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