#21589B#21589B

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

Color values

HEX#21589B
RGBrgb(33, 88, 155)
HSLhsl(213, 65%, 37%)
HSVhsv(213, 79%, 61%)
CMYKcmyk(78.7%, 43.2%, 0%, 39.2%)
CIE-LABlab(37.24, 6.80, -41.65)
CIE-LCHlch(37.24, 42.20, 279.28°)
OKLaboklab(46.07% -0.0311 -0.1192)
OKLCHoklch(46.07% 0.123 255.4)
XYZxyz(10.0311, 9.6682, 32.3415)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21589B #9B6421
analogous
#21959B #21589B #27219B
triadic
#21589B #9B2158 #589B21
tetradic
#21589B #9B2195 #9B6421 #219B27
square
#21589B #9B2195 #9B6421 #219B27
split-complementary
#21589B #9B2721 #959B21
monochromatic
#0C1F36 #163B69 #21589B #2C75CD #5A95DC

Accessibility & contrast

On white

7.16
#21589B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#21589B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21589B
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21589B#FFFFFF#000000##FFFFFF
##21589B1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9E
Deuteranopia (green-blind)
#21529A
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #21589b;
/* rgb */ color: rgb(33, 88, 155);
/* oklch */ color: oklch(46.1% 0.123 255.4);
Tailwind
colors: {
  custom: {
    50: '#6f86b9',
    500: '#21589b',
    950: '#000000',
  },
}
SCSS
$custom: #21589b;
$custom-light: #6f86b9;
$custom-dark: #000000;
JSON
{
  "hex": "#21589b",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 155
  },
  "hsl": {
    "h": 212.951,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46065,
    "c": 0.12319,
    "h": 255.4
  },
  "luminance": 0.09669
}

Semantic roles & 50–950 ramp

primary
#21589B
secondary
#C09158
accent
#9C40E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #21589B

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

Preview Lab → · Contrast checker → · Palette generator →

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