#21588D#21588D

#21588D is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.2% C 0.104 H 250.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#21588D
RGBrgb(33, 88, 141)
HSLhsl(209, 62%, 34%)
HSVhsv(209, 77%, 55%)
CMYKcmyk(76.6%, 37.6%, 0%, 44.7%)
CIE-LABlab(36.41, 1.32, -34.51)
CIE-LCHlch(36.41, 34.53, 272.19°)
OKLaboklab(45.15% -0.0346 -0.0982)
OKLCHoklch(45.15% 0.104 250.6)
XYZxyz(8.9228, 9.2248, 26.5044)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21588D #8D5621
analogous
#218D8C #21588D #21228D
triadic
#21588D #8D2158 #588D21
tetradic
#21588D #8C218D #8D5621 #228D21
square
#21588D #8C218D #8D5621 #228D21
split-complementary
#21588D #8D2122 #8D8C21
monochromatic
#0A1A2A #15395B #21588D #2D77BF #5295D6

Accessibility & contrast

On white

7.38
#21588D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#21588D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21588D
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21588D#FFFFFF#000000##FFFFFF
##21588D1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8F
Deuteranopia (green-blind)
#2F518C
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #21588d;
/* rgb */ color: rgb(33, 88, 141);
/* oklch */ color: oklch(45.2% 0.104 250.6);
Tailwind
colors: {
  custom: {
    50: '#6c86ae',
    500: '#21588d',
    950: '#000000',
  },
}
SCSS
$custom: #21588d;
$custom-light: #6c86ae;
$custom-dark: #000000;
JSON
{
  "hex": "#21588d",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 141
  },
  "hsl": {
    "h": 209.444,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45152,
    "c": 0.10415,
    "h": 250.6
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#21588D
secondary
#BA8450
accent
#9243E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #21588D

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

Preview Lab → · Contrast checker → · Palette generator →

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