#20209F#20209F

#20209F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.194 H 270.9°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#20209F
RGBrgb(32, 32, 159)
HSLhsl(240, 66%, 37%)
HSVhsv(240, 80%, 62%)
CMYKcmyk(79.9%, 79.9%, 0%, 37.6%)
CIE-LABlab(23.14, 44.47, -67.05)
CIE-LCHlch(23.14, 80.46, 303.55°)
OKLaboklab(35.66% 0.003 -0.1941)
OKLCHoklch(35.66% 0.194 270.9)
XYZxyz(7.3681, 3.8425, 33.1475)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20209F #9F9F20
analogous
#20609F #20209F #60209F
triadic
#20209F #9F2020 #209F20
tetradic
#20209F #9F2060 #9F9F20 #209F60
square
#20209F #9F2060 #9F9F20 #209F60
split-complementary
#20209F #9F6020 #609F20
monochromatic
#0B0B39 #16166C #20209F #2A2AD2 #5B5BDE

Accessibility & contrast

On white

11.87
#20209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#20209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20209F
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20209F#FFFFFF#000000##FFFFFF
##20209F1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #20209f;
/* rgb */ color: rgb(32, 32, 159);
/* oklch */ color: oklch(35.7% 0.194 270.9);
Tailwind
colors: {
  custom: {
    50: '#745ebd',
    500: '#20209f',
    950: '#000000',
  },
}
SCSS
$custom: #20209f;
$custom-light: #745ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#20209f",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.35664,
    "c": 0.19416,
    "h": 270.9
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#20209F
secondary
#C2C259
accent
#E93EE9
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #20209F

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

Preview Lab → · Contrast checker → · Palette generator →

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