#20497E#20497E

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

Color values

HEX#20497E
RGBrgb(32, 73, 126)
HSLhsl(214, 59%, 31%)
HSVhsv(214, 75%, 49%)
CMYKcmyk(74.6%, 42.1%, 0%, 50.6%)
CIE-LABlab(30.83, 5.15, -34.17)
CIE-LCHlch(30.83, 34.56, 278.57°)
OKLaboklab(40.49% -0.0243 -0.0975)
OKLCHoklch(40.49% 0.101 256)
XYZxyz(6.7427, 6.5778, 20.6489)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20497E #7E5520
analogous
#20787E #20497E #26207E
triadic
#20497E #7E2049 #497E20
tetradic
#20497E #7E2078 #7E5520 #207E26
square
#20497E #7E2078 #7E5520 #207E26
split-complementary
#20497E #7E2620 #787E20
monochromatic
#07101C #142D4D #20497E #2C65AF #4883D0

Accessibility & contrast

On white

9.07
#20497E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20497E
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20497E#FFFFFF#000000##FFFFFF
##20497E1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.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: #20497e;
/* rgb */ color: rgb(32, 73, 126);
/* oklch */ color: oklch(40.5% 0.101 256.0);
Tailwind
colors: {
  custom: {
    50: '#697ba4',
    500: '#20497e',
    950: '#000000',
  },
}
SCSS
$custom: #20497e;
$custom-light: #697ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#20497e",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 126
  },
  "hsl": {
    "h": 213.83,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40494,
    "c": 0.10051,
    "h": 256
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#20497E
secondary
#B18449
accent
#9E45E3
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #20497E

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

Preview Lab → · Contrast checker → · Palette generator →

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