#21487A#21487A

#21487A is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.096 H 255.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#21487A
RGBrgb(33, 72, 122)
HSLhsl(214, 57%, 30%)
HSVhsv(214, 73%, 48%)
CMYKcmyk(73%, 41%, 0%, 52.2%)
CIE-LABlab(30.31, 4.40, -32.50)
CIE-LCHlch(30.31, 32.79, 277.71°)
OKLaboklab(40.02% -0.0235 -0.0926)
OKLCHoklch(40.02% 0.096 255.8)
XYZxyz(6.4561, 6.3625, 19.2964)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21487A #7A5321
analogous
#21747A #21487A #27217A
triadic
#21487A #7A2148 #487A21
tetradic
#21487A #7A2174 #7A5321 #217A27
square
#21487A #7A2174 #7A5321 #217A27
split-complementary
#21487A #7A2721 #747A21
monochromatic
#070F1A #142C4A #21487A #2E64AA #4882CD

Accessibility & contrast

On white

9.24
#21487A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#21487A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21487A
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21487A#FFFFFF#000000##FFFFFF
##21487A1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#234479
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #21487a;
/* rgb */ color: rgb(33, 72, 122);
/* oklch */ color: oklch(40.0% 0.096 255.8);
Tailwind
colors: {
  custom: {
    50: '#687aa1',
    500: '#21487a',
    950: '#000000',
  },
}
SCSS
$custom: #21487a;
$custom-light: #687aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#21487a",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 213.708,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40024,
    "c": 0.09556,
    "h": 255.8
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#21487A
secondary
#AD824A
accent
#9D47E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #21487A

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

Preview Lab → · Contrast checker → · Palette generator →

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