#21589C#21589C

#21589C is a mid, vivid cyan. Relative luminance 0.097; OKLCH L 46.1% C 0.125 H 255.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#21589C
RGBrgb(33, 88, 156)
HSLhsl(213, 65%, 37%)
HSVhsv(213, 79%, 61%)
CMYKcmyk(78.8%, 43.6%, 0%, 38.8%)
CIE-LABlab(37.30, 7.20, -42.15)
CIE-LCHlch(37.30, 42.76, 279.69°)
OKLaboklab(46.13% -0.0309 -0.1207)
OKLCHoklch(46.13% 0.125 255.6)
XYZxyz(10.1154, 9.7019, 32.7856)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21589C #9C6521
analogous
#21959C #21589C #28219C
triadic
#21589C #9C2158 #589C21
tetradic
#21589C #9C2195 #9C6521 #219C28
square
#21589C #9C2195 #9C6521 #219C28
split-complementary
#21589C #9C2821 #959C21
monochromatic
#0C1F37 #163C69 #21589C #2C74CF #5B95DC

Accessibility & contrast

On white

7.14
#21589C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#21589C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21589C
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21589C#FFFFFF#000000##FFFFFF
##21589C1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365E9F
Deuteranopia (green-blind)
#1F539B
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #21589c;
/* rgb */ color: rgb(33, 88, 156);
/* oklch */ color: oklch(46.1% 0.125 255.6);
Tailwind
colors: {
  custom: {
    50: '#6f86ba',
    500: '#21589c',
    950: '#000000',
  },
}
SCSS
$custom: #21589c;
$custom-light: #6f86ba;
$custom-dark: #000000;
JSON
{
  "hex": "#21589c",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 156
  },
  "hsl": {
    "h": 213.171,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46133,
    "c": 0.12457,
    "h": 255.6
  },
  "luminance": 0.09703
}

Semantic roles & 50–950 ramp

primary
#21589C
secondary
#C19258
accent
#9D40E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #21589C

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

Preview Lab → · Contrast checker → · Palette generator →

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