#21588E#21588E

#21588E is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.2% C 0.105 H 251.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#21588E
RGBrgb(33, 88, 142)
HSLhsl(210, 62%, 34%)
HSVhsv(210, 77%, 56%)
CMYKcmyk(76.8%, 38%, 0%, 44.3%)
CIE-LABlab(36.47, 1.71, -35.03)
CIE-LCHlch(36.47, 35.07, 272.80°)
OKLaboklab(45.22% -0.0343 -0.0998)
OKLCHoklch(45.22% 0.106 251)
XYZxyz(8.9976, 9.2547, 26.8981)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21588E #8E5721
analogous
#218E8E #21588E #21218E
triadic
#21588E #8E2158 #588E21
tetradic
#21588E #8E218E #8E5721 #218E21
square
#21588E #8E218E #8E5721 #218E21
split-complementary
#21588E #8E2121 #8E8E21
monochromatic
#0A1A2B #15395C #21588E #2D77C0 #5295D7

Accessibility & contrast

On white

7.37
#21588E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21588E
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21588E#FFFFFF#000000##FFFFFF
##21588E1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B90
Deuteranopia (green-blind)
#2F518D
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #21588e;
/* rgb */ color: rgb(33, 88, 142);
/* oklch */ color: oklch(45.2% 0.105 251.0);
Tailwind
colors: {
  custom: {
    50: '#6c86af',
    500: '#21588e',
    950: '#000000',
  },
}
SCSS
$custom: #21588e;
$custom-light: #6c86af;
$custom-dark: #000000;
JSON
{
  "hex": "#21588e",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 142
  },
  "hsl": {
    "h": 209.725,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45215,
    "c": 0.1055,
    "h": 251
  },
  "luminance": 0.09256
}

Semantic roles & 50–950 ramp

primary
#21588E
secondary
#BA8550
accent
#9342E5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #21588E

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

Preview Lab → · Contrast checker → · Palette generator →

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