#21487D#21487D

#21487D is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.2% C 0.100 H 256.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#21487D
RGBrgb(33, 72, 125)
HSLhsl(215, 58%, 31%)
HSVhsv(215, 74%, 49%)
CMYKcmyk(73.6%, 42.4%, 0%, 51%)
CIE-LABlab(30.49, 5.58, -34.08)
CIE-LCHlch(30.49, 34.53, 279.30°)
OKLaboklab(40.23% -0.0228 -0.0973)
OKLCHoklch(40.23% 0.1 256.8)
XYZxyz(6.6449, 6.4380, 20.2905)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21487D #7D5621
analogous
#21767D #21487D #28217D
triadic
#21487D #7D2148 #487D21
tetradic
#21487D #7D2176 #7D5621 #217D28
square
#21487D #7D2176 #7D5621 #217D28
split-complementary
#21487D #7D2821 #767D21
monochromatic
#07101C #142C4D #21487D #2E64AD #4982CF

Accessibility & contrast

On white

9.18
#21487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#21487D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21487D
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21487D#FFFFFF#000000##FFFFFF
##21487D1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#20447C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21487d;
/* rgb */ color: rgb(33, 72, 125);
/* oklch */ color: oklch(40.2% 0.100 256.8);
Tailwind
colors: {
  custom: {
    50: '#697aa3',
    500: '#21487d',
    950: '#000000',
  },
}
SCSS
$custom: #21487d;
$custom-light: #697aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#21487d",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 214.565,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40225,
    "c": 0.09989,
    "h": 256.8
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#21487D
secondary
#B0854A
accent
#A046E1
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #21487D

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

Preview Lab → · Contrast checker → · Palette generator →

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