#21589F#21589F

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

Color values

HEX#21589F
RGBrgb(33, 88, 159)
HSLhsl(214, 66%, 38%)
HSVhsv(214, 79%, 62%)
CMYKcmyk(79.2%, 44.7%, 0%, 37.6%)
CIE-LABlab(37.49, 8.38, -43.65)
CIE-LCHlch(37.49, 44.45, 280.87°)
OKLaboklab(46.34% -0.0303 -0.1251)
OKLCHoklch(46.34% 0.129 256.4)
XYZxyz(10.3726, 9.8048, 34.1400)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21589F #9F6821
analogous
#21979F #21589F #29219F
triadic
#21589F #9F2158 #589F21
tetradic
#21589F #9F2197 #9F6821 #219F29
square
#21589F #9F2197 #9F6821 #219F29
split-complementary
#21589F #9F2921 #979F21
monochromatic
#0C203A #163C6C #21589F #2C74D2 #5D95DD

Accessibility & contrast

On white

7.09
#21589F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#21589F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21589F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21589F#FFFFFF#000000##FFFFFF
##21589F1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA2
Deuteranopia (green-blind)
#1A539E
Tritanopia (blue-blind)
#006973
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #21589f;
/* rgb */ color: rgb(33, 88, 159);
/* oklch */ color: oklch(46.3% 0.129 256.4);
Tailwind
colors: {
  custom: {
    50: '#7086bc',
    500: '#21589f',
    950: '#000000',
  },
}
SCSS
$custom: #21589f;
$custom-light: #7086bc;
$custom-dark: #000000;
JSON
{
  "hex": "#21589f",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 159
  },
  "hsl": {
    "h": 213.81,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46339,
    "c": 0.12869,
    "h": 256.4
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#21589F
secondary
#C2945A
accent
#9F3FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #21589F

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

Preview Lab → · Contrast checker → · Palette generator →

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