#21579D#21579D

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

Color values

HEX#21579D
RGBrgb(33, 87, 157)
HSLhsl(214, 65%, 37%)
HSVhsv(214, 79%, 62%)
CMYKcmyk(79%, 44.6%, 0%, 38.4%)
CIE-LABlab(37.06, 8.25, -43.13)
CIE-LCHlch(37.06, 43.91, 280.83°)
OKLaboklab(45.97% -0.0298 -0.1236)
OKLCHoklch(45.97% 0.127 256.4)
XYZxyz(10.1189, 9.5729, 33.2062)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21579D #9D6721
analogous
#21959D #21579D #29219D
triadic
#21579D #9D2157 #579D21
tetradic
#21579D #9D2195 #9D6721 #219D29
square
#21579D #9D2195 #9D6721 #219D29
split-complementary
#21579D #9D2921 #959D21
monochromatic
#0C1F38 #163B6A #21579D #2C73D0 #5C94DD

Accessibility & contrast

On white

7.20
#21579D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#21579D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21579D
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21579D#FFFFFF#000000##FFFFFF
##21579D1.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335DA0
Deuteranopia (green-blind)
#1B529C
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #21579d;
/* rgb */ color: rgb(33, 87, 157);
/* oklch */ color: oklch(46.0% 0.127 256.4);
Tailwind
colors: {
  custom: {
    50: '#7085ba',
    500: '#21579d',
    950: '#000000',
  },
}
SCSS
$custom: #21579d;
$custom-light: #7085ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21579d",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 213.871,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45969,
    "c": 0.12712,
    "h": 256.4
  },
  "luminance": 0.09574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21579D

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

Preview Lab → · Contrast checker → · Palette generator →

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