#21497F#21497F

#21497F is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.6% C 0.102 H 256.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#21497F
RGBrgb(33, 73, 127)
HSLhsl(214, 59%, 31%)
HSVhsv(214, 74%, 50%)
CMYKcmyk(74%, 42.5%, 0%, 50.2%)
CIE-LABlab(30.93, 5.70, -34.63)
CIE-LCHlch(30.93, 35.10, 279.34°)
OKLaboklab(40.6% -0.0233 -0.0989)
OKLCHoklch(40.6% 0.102 256.7)
XYZxyz(6.8391, 6.6200, 20.9919)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21497F #7F5721
analogous
#21787F #21497F #28217F
triadic
#21497F #7F2149 #497F21
tetradic
#21497F #7F2178 #7F5721 #217F28
square
#21497F #7F2178 #7F5721 #217F28
split-complementary
#21497F #7F2821 #787F21
monochromatic
#08111E #142D4E #21497F #2E65B0 #4A83D0

Accessibility & contrast

On white

9.04
#21497F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21497F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21497F#FFFFFF#000000##FFFFFF
##21497F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#20457E
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21497f;
/* rgb */ color: rgb(33, 73, 127);
/* oklch */ color: oklch(40.6% 0.102 256.7);
Tailwind
colors: {
  custom: {
    50: '#697ba4',
    500: '#21497f',
    950: '#000000',
  },
}
SCSS
$custom: #21497f;
$custom-light: #697ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#21497f",
  "rgb": {
    "r": 33,
    "g": 73,
    "b": 127
  },
  "hsl": {
    "h": 214.468,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40602,
    "c": 0.10158,
    "h": 256.7
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#21497F
secondary
#B2864A
accent
#A046E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #21497F

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

Preview Lab → · Contrast checker → · Palette generator →

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