#21497B#21497B

#21497B is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.3% C 0.096 H 255.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#21497B
RGBrgb(33, 73, 123)
HSLhsl(213, 58%, 31%)
HSVhsv(213, 73%, 48%)
CMYKcmyk(73.2%, 40.7%, 0%, 51.8%)
CIE-LABlab(30.68, 4.12, -32.53)
CIE-LCHlch(30.68, 32.79, 277.22°)
OKLaboklab(40.33% -0.0243 -0.0927)
OKLCHoklch(40.33% 0.096 255.3)
XYZxyz(6.5836, 6.5178, 19.6461)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21497B #7B5321
analogous
#21767B #21497B #26217B
triadic
#21497B #7B2149 #497B21
tetradic
#21497B #7B2176 #7B5321 #217B26
square
#21497B #7B2176 #7B5321 #217B26
split-complementary
#21497B #7B2621 #767B21
monochromatic
#07101A #142C4B #21497B #2E66AB #4884CE

Accessibility & contrast

On white

9.12
#21497B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#21497B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21497B
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21497B#FFFFFF#000000##FFFFFF
##21497B1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#24447A
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21497b;
/* rgb */ color: rgb(33, 73, 123);
/* oklch */ color: oklch(40.3% 0.096 255.3);
Tailwind
colors: {
  custom: {
    50: '#687ba1',
    500: '#21497b',
    950: '#000000',
  },
}
SCSS
$custom: #21497b;
$custom-light: #687ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#21497b",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 123
  },
  "hsl": {
    "h": 213.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40334,
    "c": 0.09582,
    "h": 255.3
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#21497B
secondary
#AE814A
accent
#9C47E1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #21497B

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

Preview Lab → · Contrast checker → · Palette generator →

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