#21579E#21579E

#21579E is a mid, vivid cyan. Relative luminance 0.096; OKLCH L 46.0% C 0.129 H 256.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#21579E
RGBrgb(33, 87, 158)
HSLhsl(214, 65%, 37%)
HSVhsv(214, 79%, 62%)
CMYKcmyk(79.1%, 44.9%, 0%, 38%)
CIE-LABlab(37.13, 8.64, -43.63)
CIE-LCHlch(37.13, 44.48, 281.21°)
OKLaboklab(46.04% -0.0296 -0.125)
OKLCHoklch(46.04% 0.129 256.7)
XYZxyz(10.2047, 9.6071, 33.6577)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21579E #9E6821
analogous
#21969E #21579E #2A219E
triadic
#21579E #9E2157 #579E21
tetradic
#21579E #9E2196 #9E6821 #219E2A
square
#21579E #9E2196 #9E6821 #219E2A
split-complementary
#21579E #9E2A21 #969E21
monochromatic
#0C1F39 #163B6B #21579E #2C73D1 #5C94DD

Accessibility & contrast

On white

7.19
#21579E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#21579E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21579E
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21579E#FFFFFF#000000##FFFFFF
##21579E1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335DA1
Deuteranopia (green-blind)
#19529D
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #21579e;
/* rgb */ color: rgb(33, 87, 158);
/* oklch */ color: oklch(46.0% 0.129 256.7);
Tailwind
colors: {
  custom: {
    50: '#7085bb',
    500: '#21579e',
    950: '#000000',
  },
}
SCSS
$custom: #21579e;
$custom-light: #7085bb;
$custom-dark: #000000;
JSON
{
  "hex": "#21579e",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 214.08,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46039,
    "c": 0.1285,
    "h": 256.7
  },
  "luminance": 0.09608
}

Semantic roles & 50–950 ramp

primary
#21579E
secondary
#C19459
accent
#9F3FE8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #21579E

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

Preview Lab → · Contrast checker → · Palette generator →

#21579E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva