#21578A#21578A

#21578A is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.7% C 0.101 H 250.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#21578A
RGBrgb(33, 87, 138)
HSLhsl(209, 61%, 34%)
HSVhsv(209, 76%, 54%)
CMYKcmyk(76.1%, 37%, 0%, 45.9%)
CIE-LABlab(35.93, 0.80, -33.44)
CIE-LCHlch(35.93, 33.45, 271.37°)
OKLaboklab(44.72% -0.0344 -0.0951)
OKLCHoklch(44.72% 0.101 250.1)
XYZxyz(8.6211, 8.9737, 25.3176)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21578A #8A5421
analogous
#218A88 #21578A #21228A
triadic
#21578A #8A2157 #578A21
tetradic
#21578A #88218A #8A5421 #228A21
square
#21578A #88218A #8A5421 #228A21
split-complementary
#21578A #8A2122 #8A8821
monochromatic
#091927 #153859 #21578A #2D76BB #5095D5

Accessibility & contrast

On white

7.51
#21578A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#21578A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21578A
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21578A#FFFFFF#000000##FFFFFF
##21578A1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8C
Deuteranopia (green-blind)
#305089
Tritanopia (blue-blind)
#00636A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #21578a;
/* rgb */ color: rgb(33, 87, 138);
/* oklch */ color: oklch(44.7% 0.101 250.1);
Tailwind
colors: {
  custom: {
    50: '#6b86ac',
    500: '#21578a',
    950: '#000000',
  },
}
SCSS
$custom: #21578a;
$custom-light: #6b86ac;
$custom-dark: #000000;
JSON
{
  "hex": "#21578a",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 138
  },
  "hsl": {
    "h": 209.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44721,
    "c": 0.10119,
    "h": 250.1
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21578A

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

Preview Lab → · Contrast checker → · Palette generator →

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