#21487E#21487E

#21487E is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.3% C 0.101 H 257.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#21487E
RGBrgb(33, 72, 126)
HSLhsl(215, 58%, 31%)
HSVhsv(215, 74%, 49%)
CMYKcmyk(73.8%, 42.9%, 0%, 50.6%)
CIE-LABlab(30.55, 5.98, -34.60)
CIE-LCHlch(30.55, 35.12, 279.80°)
OKLaboklab(40.29% -0.0225 -0.0988)
OKLCHoklch(40.29% 0.101 257.1)
XYZxyz(6.7091, 6.4637, 20.6287)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21487E #7E5721
analogous
#21767E #21487E #28217E
triadic
#21487E #7E2148 #487E21
tetradic
#21487E #7E2176 #7E5721 #217E28
square
#21487E #7E2176 #7E5721 #217E28
split-complementary
#21487E #7E2821 #767E21
monochromatic
#08111D #142C4E #21487E #2E64AE #4A82D0

Accessibility & contrast

On white

9.16
#21487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21487E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21487E#FFFFFF#000000##FFFFFF
##21487E1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#1F447D
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21487e;
/* rgb */ color: rgb(33, 72, 126);
/* oklch */ color: oklch(40.3% 0.101 257.1);
Tailwind
colors: {
  custom: {
    50: '#697aa4',
    500: '#21487e',
    950: '#000000',
  },
}
SCSS
$custom: #21487e;
$custom-light: #697aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#21487e",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 214.839,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40293,
    "c": 0.10134,
    "h": 257.1
  },
  "luminance": 0.06464
}

Semantic roles & 50–950 ramp

primary
#21487E
secondary
#B1864A
accent
#A046E2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #21487E

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

Preview Lab → · Contrast checker → · Palette generator →

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