#20499C#20499C

#20499C is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.143 H 262.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#20499C
RGBrgb(32, 73, 156)
HSLhsl(220, 66%, 37%)
HSVhsv(220, 79%, 61%)
CMYKcmyk(79.5%, 53.2%, 0%, 38.8%)
CIE-LABlab(32.86, 17.11, -49.31)
CIE-LCHlch(32.86, 52.19, 289.14°)
OKLaboklab(42.71% -0.0191 -0.142)
OKLCHoklch(42.71% 0.143 262.3)
XYZxyz(8.9768, 7.4714, 32.4151)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20499C #9C7320
analogous
#20879C #20499C #35209C
triadic
#20499C #9C2049 #499C20
tetradic
#20499C #9C2087 #9C7320 #209C35
square
#20499C #9C2087 #9C7320 #209C35
split-complementary
#20499C #9C3520 #879C20
monochromatic
#0B1936 #163169 #20499C #2A61CF #5985DD

Accessibility & contrast

On white

8.42
#20499C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#20499C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20499C
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20499C#FFFFFF#000000##FFFFFF
##20499C1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E539F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #20499c;
/* rgb */ color: rgb(32, 73, 156);
/* oklch */ color: oklch(42.7% 0.143 262.3);
Tailwind
colors: {
  custom: {
    50: '#707bba',
    500: '#20499c',
    950: '#000000',
  },
}
SCSS
$custom: #20499c;
$custom-light: #707bba;
$custom-dark: #000000;
JSON
{
  "hex": "#20499c",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 156
  },
  "hsl": {
    "h": 220.161,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42707,
    "c": 0.14333,
    "h": 262.3
  },
  "luminance": 0.07472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20499C

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

Preview Lab → · Contrast checker → · Palette generator →

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