#21578F#21578F

#21578F is a mid, moderate cyan. Relative luminance 0.091; OKLCH L 45.0% C 0.108 H 252.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#21578F
RGBrgb(33, 87, 143)
HSLhsl(211, 63%, 35%)
HSVhsv(211, 77%, 56%)
CMYKcmyk(76.9%, 39.2%, 0%, 43.9%)
CIE-LABlab(36.22, 2.75, -36.03)
CIE-LCHlch(36.22, 36.14, 274.36°)
OKLaboklab(45.04% -0.0331 -0.1027)
OKLCHoklch(45.04% 0.108 252.2)
XYZxyz(8.9915, 9.1219, 27.2681)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21578F #8F5921
analogous
#218E8F #21578F #22218F
triadic
#21578F #8F2157 #578F21
tetradic
#21578F #8F218E #8F5921 #218F22
square
#21578F #8F218E #8F5921 #218F22
split-complementary
#21578F #8F2221 #8E8F21
monochromatic
#0A1A2C #16395D #21578F #2C75C1 #5394D7

Accessibility & contrast

On white

7.43
#21578F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#21578F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21578F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21578F#FFFFFF#000000##FFFFFF
##21578F1.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B91
Deuteranopia (green-blind)
#2C518E
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #21578f;
/* rgb */ color: rgb(33, 87, 143);
/* oklch */ color: oklch(45.0% 0.108 252.2);
Tailwind
colors: {
  custom: {
    50: '#6d86b0',
    500: '#21578f',
    950: '#000000',
  },
}
SCSS
$custom: #21578f;
$custom-light: #6d86b0;
$custom-dark: #000000;
JSON
{
  "hex": "#21578f",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 143
  },
  "hsl": {
    "h": 210.545,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45036,
    "c": 0.10793,
    "h": 252.2
  },
  "luminance": 0.09123
}

Semantic roles & 50–950 ramp

primary
#21578F
secondary
#BB8751
accent
#9542E6
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #21578F

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

Preview Lab → · Contrast checker → · Palette generator →

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