#20207D#20207D

#20207D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.151 H 273.7°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#20207D
RGBrgb(32, 32, 125)
HSLhsl(240, 59%, 31%)
HSVhsv(240, 74%, 49%)
CMYKcmyk(74.4%, 74.4%, 0%, 51%)
CIE-LABlab(19.31, 32.78, -52.22)
CIE-LCHlch(19.31, 61.66, 302.12°)
OKLaboklab(31.82% 0.0096 -0.151)
OKLCHoklch(31.82% 0.151 273.7)
XYZxyz(4.8126, 2.8203, 19.6888)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20207D #7D7D20
analogous
#204E7D #20207D #4E207D
triadic
#20207D #7D2020 #207D20
tetradic
#20207D #7D204E #7D7D20 #207D4E
square
#20207D #7D204E #7D7D20 #207D4E
split-complementary
#20207D #7D4E20 #4E7D20
monochromatic
#07071C #14144C #20207D #2C2CAE #4747D0

Accessibility & contrast

On white

13.43
#20207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#20207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20207D
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20207D#FFFFFF#000000##FFFFFF
##20207D1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #20207d;
/* rgb */ color: rgb(32, 32, 125);
/* oklch */ color: oklch(31.8% 0.151 273.7);
Tailwind
colors: {
  custom: {
    50: '#6b5ca4',
    500: '#20207d',
    950: '#000000',
  },
}
SCSS
$custom: #20207d;
$custom-light: #6b5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#20207d",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 240,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31822,
    "c": 0.15134,
    "h": 273.7
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#20207D
secondary
#B0B049
accent
#E245E2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #20207D

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

Preview Lab → · Contrast checker → · Palette generator →

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