#21588C#21588C

#21588C is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.1% C 0.103 H 250.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#21588C
RGBrgb(33, 88, 140)
HSLhsl(209, 62%, 34%)
HSVhsv(209, 76%, 55%)
CMYKcmyk(76.4%, 37.1%, 0%, 45.1%)
CIE-LABlab(36.36, 0.93, -33.99)
CIE-LCHlch(36.36, 34.00, 271.58°)
OKLaboklab(45.09% -0.0348 -0.0967)
OKLCHoklch(45.09% 0.103 250.2)
XYZxyz(8.8488, 9.1952, 26.1144)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21588C #8C5521
analogous
#218C8B #21588C #21228C
triadic
#21588C #8C2158 #588C21
tetradic
#21588C #8B218C #8C5521 #228C21
square
#21588C #8B218C #8C5521 #228C21
split-complementary
#21588C #8C2122 #8C8B21
monochromatic
#0A1A29 #15395A #21588C #2D77BE #5196D6

Accessibility & contrast

On white

7.40
#21588C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#21588C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21588C
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21588C#FFFFFF#000000##FFFFFF
##21588C1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8E
Deuteranopia (green-blind)
#30518B
Tritanopia (blue-blind)
#00646B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #21588c;
/* rgb */ color: rgb(33, 88, 140);
/* oklch */ color: oklch(45.1% 0.103 250.2);
Tailwind
colors: {
  custom: {
    50: '#6c86ae',
    500: '#21588c',
    950: '#000000',
  },
}
SCSS
$custom: #21588c;
$custom-light: #6c86ae;
$custom-dark: #000000;
JSON
{
  "hex": "#21588c",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 140
  },
  "hsl": {
    "h": 209.159,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4509,
    "c": 0.10282,
    "h": 250.2
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21588C

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

Preview Lab → · Contrast checker → · Palette generator →

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