#21487B#21487B

#21487B is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.1% C 0.097 H 256.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#21487B
RGBrgb(33, 72, 123)
HSLhsl(214, 58%, 31%)
HSVhsv(214, 73%, 48%)
CMYKcmyk(73.2%, 41.5%, 0%, 51.8%)
CIE-LABlab(30.37, 4.79, -33.03)
CIE-LCHlch(30.37, 33.37, 278.26°)
OKLaboklab(40.09% -0.0233 -0.0942)
OKLCHoklch(40.09% 0.097 256.1)
XYZxyz(6.5184, 6.3874, 19.6244)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21487B #7B5421
analogous
#21757B #21487B #27217B
triadic
#21487B #7B2148 #487B21
tetradic
#21487B #7B2175 #7B5421 #217B27
square
#21487B #7B2175 #7B5421 #217B27
split-complementary
#21487B #7B2721 #757B21
monochromatic
#07101A #142C4B #21487B #2E64AB #4882CE

Accessibility & contrast

On white

9.22
#21487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#21487B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21487B
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21487B#FFFFFF#000000##FFFFFF
##21487B1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#22447A
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #21487b;
/* rgb */ color: rgb(33, 72, 123);
/* oklch */ color: oklch(40.1% 0.097 256.1);
Tailwind
colors: {
  custom: {
    50: '#687aa1',
    500: '#21487b',
    950: '#000000',
  },
}
SCSS
$custom: #21487b;
$custom-light: #687aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#21487b",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 214,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40091,
    "c": 0.097,
    "h": 256.1
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#21487B
secondary
#AE834A
accent
#9E47E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #21487B

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

Preview Lab → · Contrast checker → · Palette generator →

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