#20497C#20497C

#20497C is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.4% C 0.098 H 255.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#20497C
RGBrgb(32, 73, 124)
HSLhsl(213, 59%, 31%)
HSVhsv(213, 74%, 49%)
CMYKcmyk(74.2%, 41.1%, 0%, 51.4%)
CIE-LABlab(30.70, 4.36, -33.12)
CIE-LCHlch(30.70, 33.40, 277.49°)
OKLaboklab(40.36% -0.0248 -0.0944)
OKLCHoklch(40.36% 0.098 255.3)
XYZxyz(6.6150, 6.5267, 19.9760)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20497C #7C5320
analogous
#20777C #20497C #25207C
triadic
#20497C #7C2049 #497C20
tetradic
#20497C #7C2077 #7C5320 #207C25
square
#20497C #7C2077 #7C5320 #207C25
split-complementary
#20497C #7C2520 #777C20
monochromatic
#07101B #132C4B #20497C #2D66AD #4784CF

Accessibility & contrast

On white

9.11
#20497C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#20497C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20497C
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20497C#FFFFFF#000000##FFFFFF
##20497C1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#23447B
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20497c;
/* rgb */ color: rgb(32, 73, 124);
/* oklch */ color: oklch(40.4% 0.098 255.3);
Tailwind
colors: {
  custom: {
    50: '#687ba2',
    500: '#20497c',
    950: '#000000',
  },
}
SCSS
$custom: #20497c;
$custom-light: #687ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#20497c",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 124
  },
  "hsl": {
    "h": 213.261,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4036,
    "c": 0.09764,
    "h": 255.3
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#20497C
secondary
#AF8149
accent
#9C46E2
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #20497C

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

Preview Lab → · Contrast checker → · Palette generator →

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