#21578C#21578C

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

Color values

HEX#21578C
RGBrgb(33, 87, 140)
HSLhsl(210, 62%, 34%)
HSVhsv(210, 76%, 55%)
CMYKcmyk(76.4%, 37.9%, 0%, 45.1%)
CIE-LABlab(36.05, 1.58, -34.48)
CIE-LCHlch(36.05, 34.52, 272.62°)
OKLaboklab(44.85% -0.0339 -0.0982)
OKLCHoklch(44.85% 0.104 251)
XYZxyz(8.7672, 9.0322, 26.0872)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21578C #8C5621
analogous
#218C8C #21578C #21218C
triadic
#21578C #8C2157 #578C21
tetradic
#21578C #8C218C #8C5621 #218C21
square
#21578C #8C218C #8C5621 #218C21
split-complementary
#21578C #8C2121 #8C8C21
monochromatic
#0A1929 #15385A #21578C #2D76BE #5194D6

Accessibility & contrast

On white

7.48
#21578C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#21578C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21578C
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21578C#FFFFFF#000000##FFFFFF
##21578C1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8E
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #21578c;
/* rgb */ color: rgb(33, 87, 140);
/* oklch */ color: oklch(44.8% 0.104 251.0);
Tailwind
colors: {
  custom: {
    50: '#6c86ae',
    500: '#21578c',
    950: '#000000',
  },
}
SCSS
$custom: #21578c;
$custom-light: #6c86ae;
$custom-dark: #000000;
JSON
{
  "hex": "#21578c",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 140
  },
  "hsl": {
    "h": 209.72,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44846,
    "c": 0.10387,
    "h": 251
  },
  "luminance": 0.09033
}

Semantic roles & 50–950 ramp

primary
#21578C
secondary
#B9844F
accent
#9343E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #21578C

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

Preview Lab → · Contrast checker → · Palette generator →

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