#21589D#21589D

#21589D is a mid, vivid cyan. Relative luminance 0.097; OKLCH L 46.2% C 0.126 H 255.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#21589D
RGBrgb(33, 88, 157)
HSLhsl(213, 65%, 37%)
HSVhsv(213, 79%, 62%)
CMYKcmyk(79%, 43.9%, 0%, 38.4%)
CIE-LABlab(37.36, 7.59, -42.65)
CIE-LCHlch(37.36, 43.32, 280.09°)
OKLaboklab(46.2% -0.0307 -0.1221)
OKLCHoklch(46.2% 0.126 255.9)
XYZxyz(10.2005, 9.7359, 33.2334)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21589D #9D6621
analogous
#21969D #21589D #28219D
triadic
#21589D #9D2158 #589D21
tetradic
#21589D #9D2196 #9D6621 #219D28
square
#21589D #9D2196 #9D6621 #219D28
split-complementary
#21589D #9D2821 #969D21
monochromatic
#0C1F38 #163C6A #21589D #2C74D0 #5C95DD

Accessibility & contrast

On white

7.12
#21589D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21589D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21589D#FFFFFF#000000##FFFFFF
##21589D1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355EA0
Deuteranopia (green-blind)
#1E539C
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #21589d;
/* rgb */ color: rgb(33, 88, 157);
/* oklch */ color: oklch(46.2% 0.126 255.9);
Tailwind
colors: {
  custom: {
    50: '#7086ba',
    500: '#21589d',
    950: '#000000',
  },
}
SCSS
$custom: #21589d;
$custom-light: #7086ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21589d",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 157
  },
  "hsl": {
    "h": 213.387,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46202,
    "c": 0.12594,
    "h": 255.9
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#21589D
secondary
#C19359
accent
#9D40E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #21589D

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

Preview Lab → · Contrast checker → · Palette generator →

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