#21497A#21497A

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

Color values

HEX#21497A
RGBrgb(33, 73, 122)
HSLhsl(213, 57%, 30%)
HSVhsv(213, 73%, 48%)
CMYKcmyk(73%, 40.2%, 0%, 52.2%)
CIE-LABlab(30.62, 3.73, -32.00)
CIE-LCHlch(30.62, 32.21, 276.65°)
OKLaboklab(40.27% -0.0245 -0.0911)
OKLCHoklch(40.27% 0.094 254.9)
XYZxyz(6.5213, 6.4929, 19.3181)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21497A #7A5221
analogous
#21757A #21497A #26217A
triadic
#21497A #7A2149 #497A21
tetradic
#21497A #7A2175 #7A5221 #217A26
square
#21497A #7A2175 #7A5221 #217A26
split-complementary
#21497A #7A2621 #757A21
monochromatic
#070F1A #142C4A #21497A #2E66AA #4884CD

Accessibility & contrast

On white

9.14
#21497A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21497A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21497A#FFFFFF#000000##FFFFFF
##21497A1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7C
Deuteranopia (green-blind)
#254479
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #21497a;
/* rgb */ color: rgb(33, 73, 122);
/* oklch */ color: oklch(40.3% 0.094 254.9);
Tailwind
colors: {
  custom: {
    50: '#687ba1',
    500: '#21497a',
    950: '#000000',
  },
}
SCSS
$custom: #21497a;
$custom-light: #687ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#21497a",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 122
  },
  "hsl": {
    "h": 213.034,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40269,
    "c": 0.09439,
    "h": 254.9
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21497A

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

Preview Lab → · Contrast checker → · Palette generator →

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