#20497F#20497F

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

Color values

HEX#20497F
RGBrgb(32, 73, 127)
HSLhsl(214, 60%, 31%)
HSVhsv(214, 75%, 50%)
CMYKcmyk(74.8%, 42.5%, 0%, 50.2%)
CIE-LABlab(30.89, 5.55, -34.70)
CIE-LCHlch(30.89, 35.14, 279.08°)
OKLaboklab(40.56% -0.0241 -0.0991)
OKLCHoklch(40.56% 0.102 256.3)
XYZxyz(6.8076, 6.6037, 20.9904)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20497F #7F5620
analogous
#20787F #20497F #26207F
triadic
#20497F #7F2049 #497F20
tetradic
#20497F #7F2078 #7F5620 #207F26
square
#20497F #7F2078 #7F5620 #207F26
split-complementary
#20497F #7F2620 #787F20
monochromatic
#07111D #142D4E #20497F #2C65B0 #4883D1

Accessibility & contrast

On white

9.05
#20497F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20497F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20497F#FFFFFF#000000##FFFFFF
##20497F1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.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: #20497f;
/* rgb */ color: rgb(32, 73, 127);
/* oklch */ color: oklch(40.6% 0.102 256.3);
Tailwind
colors: {
  custom: {
    50: '#697ba4',
    500: '#20497f',
    950: '#000000',
  },
}
SCSS
$custom: #20497f;
$custom-light: #697ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#20497f",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 127
  },
  "hsl": {
    "h": 214.105,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.10195,
    "h": 256.3
  },
  "luminance": 0.06604
}

Semantic roles & 50–950 ramp

primary
#20497F
secondary
#B28549
accent
#9F45E3
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #20497F

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

Preview Lab → · Contrast checker → · Palette generator →

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