#20209E#20209E

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

Color values

HEX#20209E
RGBrgb(32, 32, 158)
HSLhsl(240, 66%, 37%)
HSVhsv(240, 80%, 62%)
CMYKcmyk(79.7%, 79.7%, 0%, 38%)
CIE-LABlab(23.03, 44.14, -66.64)
CIE-LCHlch(23.03, 79.93, 303.52°)
OKLaboklab(35.55% 0.0032 -0.1929)
OKLCHoklch(35.55% 0.193 271)
XYZxyz(7.2816, 3.8079, 32.6924)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20209E #9E9E20
analogous
#205F9E #20209E #5F209E
triadic
#20209E #9E2020 #209E20
tetradic
#20209E #9E205F #9E9E20 #209E5F
square
#20209E #9E205F #9E9E20 #209E5F
split-complementary
#20209E #9E5F20 #5F9E20
monochromatic
#0B0B38 #16166B #20209E #2A2AD1 #5B5BDE

Accessibility & contrast

On white

11.92
#20209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#20209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20209E
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20209E#FFFFFF#000000##FFFFFF
##20209E1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #20209e;
/* rgb */ color: rgb(32, 32, 158);
/* oklch */ color: oklch(35.5% 0.193 271.0);
Tailwind
colors: {
  custom: {
    50: '#745ebc',
    500: '#20209e',
    950: '#000000',
  },
}
SCSS
$custom: #20209e;
$custom-light: #745ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#20209e",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 240,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35547,
    "c": 0.19297,
    "h": 271
  },
  "luminance": 0.03809
}

Semantic roles & 50–950 ramp

primary
#20209E
secondary
#C2C258
accent
#E93FE9
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #20209E

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

Preview Lab → · Contrast checker → · Palette generator →

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