#20499D#20499D

#20499D is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.145 H 262.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#20499D
RGBrgb(32, 73, 157)
HSLhsl(220, 66%, 37%)
HSVhsv(220, 80%, 62%)
CMYKcmyk(79.6%, 53.5%, 0%, 38.4%)
CIE-LABlab(32.93, 17.51, -49.79)
CIE-LCHlch(32.93, 52.78, 289.37°)
OKLaboklab(42.79% -0.019 -0.1435)
OKLCHoklch(42.79% 0.145 262.5)
XYZxyz(9.0618, 7.5054, 32.8629)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20499D #9D7420
analogous
#20889D #20499D #35209D
triadic
#20499D #9D2049 #499D20
tetradic
#20499D #9D2088 #9D7420 #209D35
square
#20499D #9D2088 #9D7420 #209D35
split-complementary
#20499D #9D3520 #889D20
monochromatic
#0B1A37 #16316A #20499D #2A61D0 #5A85DD

Accessibility & contrast

On white

8.40
#20499D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#20499D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20499D
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20499D#FFFFFF#000000##FFFFFF
##20499D1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B53A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #20499d;
/* rgb */ color: rgb(32, 73, 157);
/* oklch */ color: oklch(42.8% 0.145 262.5);
Tailwind
colors: {
  custom: {
    50: '#707bbb',
    500: '#20499d',
    950: '#000000',
  },
}
SCSS
$custom: #20499d;
$custom-light: #707bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#20499d",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 157
  },
  "hsl": {
    "h": 220.32,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42787,
    "c": 0.14472,
    "h": 262.5
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#20499D
secondary
#C19F57
accent
#B13FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #20499D

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

Preview Lab → · Contrast checker → · Palette generator →

#20499D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva