#20206D#20206D

#20206D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.129 H 275.3°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#20206D
RGBrgb(32, 32, 109)
HSLhsl(240, 55%, 28%)
HSVhsv(240, 71%, 43%)
CMYKcmyk(70.6%, 70.6%, 0%, 57.3%)
CIE-LABlab(17.66, 26.94, -44.64)
CIE-LCHlch(17.66, 52.14, 301.11°)
OKLaboklab(30.14% 0.0121 -0.1289)
OKLCHoklch(30.14% 0.129 275.3)
XYZxyz(3.8716, 2.4439, 14.7327)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20206D #6D6D20
analogous
#20466D #20206D #46206D
triadic
#20206D #6D2020 #206D20
tetradic
#20206D #6D2046 #6D6D20 #206D46
square
#20206D #6D2046 #6D6D20 #206D46
split-complementary
#20206D #6D4620 #466D20
monochromatic
#070718 #12123E #20206D #2E2E9C #4040C7

Accessibility & contrast

On white

14.11
#20206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#20206D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20206D
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20206D#FFFFFF#000000##FFFFFF
##20206D1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #20206d;
/* rgb */ color: rgb(32, 32, 109);
/* oklch */ color: oklch(30.1% 0.129 275.3);
Tailwind
colors: {
  custom: {
    50: '#675c98',
    500: '#20206d',
    950: '#000000',
  },
}
SCSS
$custom: #20206d;
$custom-light: #675c98;
$custom-dark: #000000;
JSON
{
  "hex": "#20206d",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 240,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30139,
    "c": 0.12944,
    "h": 275.3
  },
  "luminance": 0.02444
}

Semantic roles & 50–950 ramp

primary
#20206D
secondary
#A1A148
accent
#DE4ADE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #20206D

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

Preview Lab → · Contrast checker → · Palette generator →

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