#21477C#21477C

#21477C is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.9% C 0.100 H 257.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#21477C
RGBrgb(33, 71, 124)
HSLhsl(215, 58%, 31%)
HSVhsv(215, 73%, 49%)
CMYKcmyk(73.4%, 42.7%, 0%, 51.4%)
CIE-LABlab(30.12, 5.86, -34.05)
CIE-LCHlch(30.12, 34.55, 279.77°)
OKLaboklab(39.92% -0.022 -0.0972)
OKLCHoklch(39.92% 0.1 257.2)
XYZxyz(6.5172, 6.2844, 19.9344)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21477C #7C5621
analogous
#21747C #21477C #28217C
triadic
#21477C #7C2147 #477C21
tetradic
#21477C #7C2174 #7C5621 #217C28
square
#21477C #7C2174 #7C5621 #217C28
split-complementary
#21477C #7C2821 #747C21
monochromatic
#07101B #142B4C #21477C #2E63AC #4981CF

Accessibility & contrast

On white

9.30
#21477C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#21477C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21477C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21477C#FFFFFF#000000##FFFFFF
##21477C1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7E
Deuteranopia (green-blind)
#1F437B
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #21477c;
/* rgb */ color: rgb(33, 71, 124);
/* oklch */ color: oklch(39.9% 0.100 257.2);
Tailwind
colors: {
  custom: {
    50: '#6979a2',
    500: '#21477c',
    950: '#000000',
  },
}
SCSS
$custom: #21477c;
$custom-light: #6979a2;
$custom-dark: #000000;
JSON
{
  "hex": "#21477c",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 214.945,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39916,
    "c": 0.09965,
    "h": 257.2
  },
  "luminance": 0.06285
}

Semantic roles & 50–950 ramp

primary
#21477C
secondary
#AF854A
accent
#A147E1
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #21477C

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

Preview Lab → · Contrast checker → · Palette generator →

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