#20499F#20499F

#20499F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.148 H 262.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#20499F
RGBrgb(32, 73, 159)
HSLhsl(221, 66%, 37%)
HSVhsv(221, 80%, 62%)
CMYKcmyk(79.9%, 54.1%, 0%, 37.6%)
CIE-LABlab(33.08, 18.30, -50.76)
CIE-LCHlch(33.08, 53.96, 289.83°)
OKLaboklab(42.95% -0.0188 -0.1463)
OKLCHoklch(42.95% 0.148 262.7)
XYZxyz(9.2340, 7.5743, 33.7695)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20499F #9F7620
analogous
#20889F #20499F #37209F
triadic
#20499F #9F2049 #499F20
tetradic
#20499F #9F2088 #9F7620 #209F37
square
#20499F #9F2088 #9F7620 #209F37
split-complementary
#20499F #9F3720 #889F20
monochromatic
#0B1A39 #16326C #20499F #2A60D2 #5B86DE

Accessibility & contrast

On white

8.35
#20499F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#20499F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20499F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20499F#FFFFFF#000000##FFFFFF
##20499F1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0454A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #20499f;
/* rgb */ color: rgb(32, 73, 159);
/* oklch */ color: oklch(42.9% 0.148 262.7);
Tailwind
colors: {
  custom: {
    50: '#707bbc',
    500: '#20499f',
    950: '#000000',
  },
}
SCSS
$custom: #20499f;
$custom-light: #707bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#20499f",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 159
  },
  "hsl": {
    "h": 220.63,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42947,
    "c": 0.14751,
    "h": 262.7
  },
  "luminance": 0.07575
}

Semantic roles & 50–950 ramp

primary
#20499F
secondary
#C2A059
accent
#B23EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #20499F

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

Preview Lab → · Contrast checker → · Palette generator →

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