#21497C#21497C

#21497C is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.4% C 0.097 H 255.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#21497C
RGBrgb(33, 73, 124)
HSLhsl(214, 58%, 31%)
HSVhsv(214, 73%, 49%)
CMYKcmyk(73.4%, 41.1%, 0%, 51.4%)
CIE-LABlab(30.74, 4.52, -33.06)
CIE-LCHlch(30.74, 33.36, 277.78°)
OKLaboklab(40.4% -0.024 -0.0942)
OKLCHoklch(40.4% 0.097 255.7)
XYZxyz(6.6465, 6.5429, 19.9775)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21497C #7C5421
analogous
#21767C #21497C #26217C
triadic
#21497C #7C2149 #497C21
tetradic
#21497C #7C2176 #7C5421 #217C26
square
#21497C #7C2176 #7C5421 #217C26
split-complementary
#21497C #7C2621 #767C21
monochromatic
#07101B #142D4C #21497C #2E65AC #4984CF

Accessibility & contrast

On white

9.10
#21497C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21497C
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21497C#FFFFFF#000000##FFFFFF
##21497C1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#23447B
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21497c;
/* rgb */ color: rgb(33, 73, 124);
/* oklch */ color: oklch(40.4% 0.097 255.7);
Tailwind
colors: {
  custom: {
    50: '#697ba2',
    500: '#21497c',
    950: '#000000',
  },
}
SCSS
$custom: #21497c;
$custom-light: #697ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#21497c",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 124
  },
  "hsl": {
    "h": 213.626,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40401,
    "c": 0.09726,
    "h": 255.7
  },
  "luminance": 0.06544
}

Semantic roles & 50–950 ramp

primary
#21497C
secondary
#AF824A
accent
#9D47E1
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #21497C

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

Preview Lab → · Contrast checker → · Palette generator →

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