#20209D#20209D

#20209D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.192 H 271.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#20209D
RGBrgb(32, 32, 157)
HSLhsl(240, 66%, 37%)
HSVhsv(240, 80%, 62%)
CMYKcmyk(79.6%, 79.6%, 0%, 38.4%)
CIE-LABlab(22.91, 43.81, -66.22)
CIE-LCHlch(22.91, 79.40, 303.49°)
OKLaboklab(35.43% 0.0034 -0.1917)
OKLCHoklch(35.43% 0.192 271)
XYZxyz(7.1959, 3.7736, 32.2409)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20209D #9D9D20
analogous
#205F9D #20209D #5F209D
triadic
#20209D #9D2020 #209D20
tetradic
#20209D #9D205F #9D9D20 #209D5F
square
#20209D #9D205F #9D9D20 #209D5F
split-complementary
#20209D #9D5F20 #5F9D20
monochromatic
#0B0B37 #16166A #20209D #2A2AD0 #5A5ADD

Accessibility & contrast

On white

11.97
#20209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#20209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20209D
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20209D#FFFFFF#000000##FFFFFF
##20209D1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA0
Deuteranopia (green-blind)
#00309B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #20209d;
/* rgb */ color: rgb(32, 32, 157);
/* oklch */ color: oklch(35.4% 0.192 271.0);
Tailwind
colors: {
  custom: {
    50: '#735ebb',
    500: '#20209d',
    950: '#000000',
  },
}
SCSS
$custom: #20209d;
$custom-light: #735ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#20209d",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 240,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35431,
    "c": 0.19176,
    "h": 271
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#20209D
secondary
#C1C157
accent
#E93FE9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #20209D

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

Preview Lab → · Contrast checker → · Palette generator →

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