#21588B#21588B

#21588B is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.0% C 0.101 H 249.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#21588B
RGBrgb(33, 88, 139)
HSLhsl(209, 62%, 34%)
HSVhsv(209, 76%, 55%)
CMYKcmyk(76.3%, 36.7%, 0%, 45.5%)
CIE-LABlab(36.30, 0.55, -33.47)
CIE-LCHlch(36.30, 33.47, 270.94°)
OKLaboklab(45.03% -0.0351 -0.0952)
OKLCHoklch(45.03% 0.101 249.7)
XYZxyz(8.7754, 9.1659, 25.7278)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21588B #8B5421
analogous
#218B89 #21588B #21238B
triadic
#21588B #8B2158 #588B21
tetradic
#21588B #89218B #8B5421 #238B21
square
#21588B #89218B #8B5421 #238B21
split-complementary
#21588B #8B2123 #8B8921
monochromatic
#0A1928 #15395A #21588B #2D77BC #5196D6

Accessibility & contrast

On white

7.41
#21588B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#21588B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21588B
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21588B#FFFFFF#000000##FFFFFF
##21588B1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8D
Deuteranopia (green-blind)
#31518A
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #21588b;
/* rgb */ color: rgb(33, 88, 139);
/* oklch */ color: oklch(45.0% 0.101 249.7);
Tailwind
colors: {
  custom: {
    50: '#6c86ad',
    500: '#21588b',
    950: '#000000',
  },
}
SCSS
$custom: #21588b;
$custom-light: #6c86ad;
$custom-dark: #000000;
JSON
{
  "hex": "#21588b",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 139
  },
  "hsl": {
    "h": 208.868,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45028,
    "c": 0.10148,
    "h": 249.7
  },
  "luminance": 0.09167
}

Semantic roles & 50–950 ramp

primary
#21588B
secondary
#B9824F
accent
#9143E5
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B10
muted
#7A7C7F

Preview Lab

Preview with #21588B

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

Preview Lab → · Contrast checker → · Palette generator →

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