#21589E#21589E

#21589E is a mid, vivid cyan. Relative luminance 0.098; OKLCH L 46.3% C 0.127 H 256.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#21589E
RGBrgb(33, 88, 158)
HSLhsl(214, 65%, 37%)
HSVhsv(214, 79%, 62%)
CMYKcmyk(79.1%, 44.3%, 0%, 38%)
CIE-LABlab(37.43, 7.99, -43.15)
CIE-LCHlch(37.43, 43.88, 280.48°)
OKLaboklab(46.27% -0.0305 -0.1236)
OKLCHoklch(46.27% 0.127 256.2)
XYZxyz(10.2862, 9.7702, 33.6848)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21589E #9E6721
analogous
#21979E #21589E #29219E
triadic
#21589E #9E2158 #589E21
tetradic
#21589E #9E2197 #9E6721 #219E29
square
#21589E #9E2197 #9E6721 #219E29
split-complementary
#21589E #9E2921 #979E21
monochromatic
#0C2039 #163C6B #21589E #2C74D1 #5C95DD

Accessibility & contrast

On white

7.11
#21589E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#21589E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21589E
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21589E#FFFFFF#000000##FFFFFF
##21589E1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355EA1
Deuteranopia (green-blind)
#1C539D
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #21589e;
/* rgb */ color: rgb(33, 88, 158);
/* oklch */ color: oklch(46.3% 0.127 256.2);
Tailwind
colors: {
  custom: {
    50: '#7086bb',
    500: '#21589e',
    950: '#000000',
  },
}
SCSS
$custom: #21589e;
$custom-light: #7086bb;
$custom-dark: #000000;
JSON
{
  "hex": "#21589e",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 158
  },
  "hsl": {
    "h": 213.6,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4627,
    "c": 0.12732,
    "h": 256.2
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21589E

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

Preview Lab → · Contrast checker → · Palette generator →

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