#21487C#21487C

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

Color values

HEX#21487C
RGBrgb(33, 72, 124)
HSLhsl(214, 58%, 31%)
HSVhsv(214, 73%, 49%)
CMYKcmyk(73.4%, 41.9%, 0%, 51.4%)
CIE-LABlab(30.43, 5.19, -33.55)
CIE-LCHlch(30.43, 33.95, 278.79°)
OKLaboklab(40.16% -0.023 -0.0957)
OKLCHoklch(40.16% 0.098 256.5)
XYZxyz(6.5813, 6.4126, 19.9558)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21487C #7C5521
analogous
#21757C #21487C #27217C
triadic
#21487C #7C2148 #487C21
tetradic
#21487C #7C2175 #7C5521 #217C27
square
#21487C #7C2175 #7C5521 #217C27
split-complementary
#21487C #7C2721 #757C21
monochromatic
#07101B #142C4C #21487C #2E64AC #4982CF

Accessibility & contrast

On white

9.20
#21487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21487C
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21487C#FFFFFF#000000##FFFFFF
##21487C1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#21447B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21487c;
/* rgb */ color: rgb(33, 72, 124);
/* oklch */ color: oklch(40.2% 0.098 256.5);
Tailwind
colors: {
  custom: {
    50: '#697aa2',
    500: '#21487c',
    950: '#000000',
  },
}
SCSS
$custom: #21487c;
$custom-light: #697aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#21487c",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 214.286,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40158,
    "c": 0.09845,
    "h": 256.5
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#21487C
secondary
#AF844A
accent
#9F47E1
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #21487C

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

Preview Lab → · Contrast checker → · Palette generator →

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