#21497D#21497D

#21497D is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.5% C 0.099 H 256.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#21497D
RGBrgb(33, 73, 125)
HSLhsl(214, 58%, 31%)
HSVhsv(214, 74%, 49%)
CMYKcmyk(73.6%, 41.6%, 0%, 51%)
CIE-LABlab(30.80, 4.91, -33.58)
CIE-LCHlch(30.80, 33.94, 278.32°)
OKLaboklab(40.47% -0.0238 -0.0958)
OKLCHoklch(40.47% 0.099 256)
XYZxyz(6.7101, 6.5684, 20.3122)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21497D #7D5521
analogous
#21777D #21497D #27217D
triadic
#21497D #7D2149 #497D21
tetradic
#21497D #7D2177 #7D5521 #217D27
square
#21497D #7D2177 #7D5521 #217D27
split-complementary
#21497D #7D2721 #777D21
monochromatic
#07101C #142D4D #21497D #2E65AD #4983CF

Accessibility & contrast

On white

9.08
#21497D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#21497D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21497D
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21497D#FFFFFF#000000##FFFFFF
##21497D1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#22457C
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21497d;
/* rgb */ color: rgb(33, 73, 125);
/* oklch */ color: oklch(40.5% 0.099 256.0);
Tailwind
colors: {
  custom: {
    50: '#697ba3',
    500: '#21497d',
    950: '#000000',
  },
}
SCSS
$custom: #21497d;
$custom-light: #697ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#21497d",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 125
  },
  "hsl": {
    "h": 213.913,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40467,
    "c": 0.0987,
    "h": 256
  },
  "luminance": 0.06569
}

Semantic roles & 50–950 ramp

primary
#21497D
secondary
#B0844A
accent
#9E46E1
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #21497D

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

Preview Lab → · Contrast checker → · Palette generator →

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