#21579C#21579C

#21579C is a mid, vivid cyan. Relative luminance 0.095; OKLCH L 45.9% C 0.126 H 256.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#21579C
RGBrgb(33, 87, 156)
HSLhsl(214, 65%, 37%)
HSVhsv(214, 79%, 61%)
CMYKcmyk(78.8%, 44.2%, 0%, 38.8%)
CIE-LABlab(37.00, 7.85, -42.63)
CIE-LCHlch(37.00, 43.35, 280.44°)
OKLaboklab(45.9% -0.03 -0.1221)
OKLCHoklch(45.9% 0.126 256.2)
XYZxyz(10.0339, 9.5388, 32.7584)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21579C #9C6621
analogous
#21949C #21579C #29219C
triadic
#21579C #9C2157 #579C21
tetradic
#21579C #9C2194 #9C6621 #219C29
square
#21579C #9C2194 #9C6621 #219C29
split-complementary
#21579C #9C2921 #949C21
monochromatic
#0C1F37 #163B69 #21579C #2C73CF #5B94DC

Accessibility & contrast

On white

7.22
#21579C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21579C
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21579C#FFFFFF#000000##FFFFFF
##21579C1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345D9F
Deuteranopia (green-blind)
#1C529B
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #21579c;
/* rgb */ color: rgb(33, 87, 156);
/* oklch */ color: oklch(45.9% 0.126 256.2);
Tailwind
colors: {
  custom: {
    50: '#6f85ba',
    500: '#21579c',
    950: '#000000',
  },
}
SCSS
$custom: #21579c;
$custom-light: #6f85ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21579c",
  "rgb": {
    "r": 33,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 213.659,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.459,
    "c": 0.12574,
    "h": 256.2
  },
  "luminance": 0.0954
}

Semantic roles & 50–950 ramp

primary
#21579C
secondary
#C19358
accent
#9E40E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #21579C

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

Preview Lab → · Contrast checker → · Palette generator →

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