#21497E#21497E

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

Color values

HEX#21497E
RGBrgb(33, 73, 126)
HSLhsl(214, 58%, 31%)
HSVhsv(214, 74%, 49%)
CMYKcmyk(73.8%, 42.1%, 0%, 50.6%)
CIE-LABlab(30.86, 5.31, -34.11)
CIE-LCHlch(30.86, 34.52, 278.84°)
OKLaboklab(40.53% -0.0236 -0.0973)
OKLCHoklch(40.53% 0.1 256.4)
XYZxyz(6.7743, 6.5940, 20.6504)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21497E #7E5621
analogous
#21777E #21497E #27217E
triadic
#21497E #7E2149 #497E21
tetradic
#21497E #7E2177 #7E5621 #217E27
square
#21497E #7E2177 #7E5621 #217E27
split-complementary
#21497E #7E2721 #777E21
monochromatic
#08111D #142D4E #21497E #2E65AE #4A83D0

Accessibility & contrast

On white

9.06
#21497E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#21497E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21497E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21497E#FFFFFF#000000##FFFFFF
##21497E1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#21457D
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21497e;
/* rgb */ color: rgb(33, 73, 126);
/* oklch */ color: oklch(40.5% 0.100 256.4);
Tailwind
colors: {
  custom: {
    50: '#697ba4',
    500: '#21497e',
    950: '#000000',
  },
}
SCSS
$custom: #21497e;
$custom-light: #697ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#21497e",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 126
  },
  "hsl": {
    "h": 214.194,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40535,
    "c": 0.10014,
    "h": 256.4
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#21497E
secondary
#B1854A
accent
#9F46E2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #21497E

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

Preview Lab → · Contrast checker → · Palette generator →

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