#20207B#20207B

#20207B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.149 H 273.8°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#20207B
RGBrgb(32, 32, 123)
HSLhsl(240, 59%, 30%)
HSVhsv(240, 74%, 48%)
CMYKcmyk(74%, 74%, 0%, 51.8%)
CIE-LABlab(19.10, 32.06, -51.29)
CIE-LCHlch(19.10, 60.49, 302.01°)
OKLaboklab(31.61% 0.01 -0.1483)
OKLCHoklch(31.61% 0.149 273.8)
XYZxyz(4.6861, 2.7697, 19.0227)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20207B #7B7B20
analogous
#204D7B #20207B #4D207B
triadic
#20207B #7B2020 #207B20
tetradic
#20207B #7B204D #7B7B20 #207B4D
square
#20207B #7B204D #7B7B20 #207B4D
split-complementary
#20207B #7B4D20 #4D7B20
monochromatic
#07071A #13134A #20207B #2D2DAC #4646CF

Accessibility & contrast

On white

13.51
#20207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#20207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20207B
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20207B#FFFFFF#000000##FFFFFF
##20207B1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #20207b;
/* rgb */ color: rgb(32, 32, 123);
/* oklch */ color: oklch(31.6% 0.149 273.8);
Tailwind
colors: {
  custom: {
    50: '#6b5ca2',
    500: '#20207b',
    950: '#000000',
  },
}
SCSS
$custom: #20207b;
$custom-light: #6b5ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#20207b",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 240,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31607,
    "c": 0.14867,
    "h": 273.8
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#20207B
secondary
#AEAE49
accent
#E246E2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #20207B

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

Preview Lab → · Contrast checker → · Palette generator →

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