#21588F#21588F

#21588F is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.3% C 0.107 H 251.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#21588F
RGBrgb(33, 88, 143)
HSLhsl(210, 63%, 35%)
HSVhsv(210, 77%, 56%)
CMYKcmyk(76.9%, 38.5%, 0%, 43.9%)
CIE-LABlab(36.53, 2.10, -35.54)
CIE-LCHlch(36.53, 35.60, 273.38°)
OKLaboklab(45.28% -0.034 -0.1013)
OKLCHoklch(45.28% 0.107 251.4)
XYZxyz(9.0730, 9.2849, 27.2953)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21588F #8F5821
analogous
#218F8F #21588F #21218F
triadic
#21588F #8F2158 #588F21
tetradic
#21588F #8F218F #8F5821 #218F21
square
#21588F #8F218F #8F5821 #218F21
split-complementary
#21588F #8F2121 #8F8F21
monochromatic
#0A1B2C #16395D #21588F #2C77C1 #5395D7

Accessibility & contrast

On white

7.35
#21588F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#21588F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21588F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21588F#FFFFFF#000000##FFFFFF
##21588F1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21588f;
/* rgb */ color: rgb(33, 88, 143);
/* oklch */ color: oklch(45.3% 0.107 251.4);
Tailwind
colors: {
  custom: {
    50: '#6d86b0',
    500: '#21588f',
    950: '#000000',
  },
}
SCSS
$custom: #21588f;
$custom-light: #6d86b0;
$custom-dark: #000000;
JSON
{
  "hex": "#21588f",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 143
  },
  "hsl": {
    "h": 210,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45278,
    "c": 0.10684,
    "h": 251.4
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#21588F
secondary
#BB8651
accent
#9442E6
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #21588F

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

Preview Lab → · Contrast checker → · Palette generator →

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