#20206E#20206E

#20206E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.131 H 275.2°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#20206E
RGBrgb(32, 32, 110)
HSLhsl(240, 55%, 28%)
HSVhsv(240, 71%, 43%)
CMYKcmyk(70.9%, 70.9%, 0%, 56.9%)
CIE-LABlab(17.76, 27.31, -45.12)
CIE-LCHlch(17.76, 52.74, 301.18°)
OKLaboklab(30.24% 0.0119 -0.1303)
OKLCHoklch(30.24% 0.131 275.2)
XYZxyz(3.9257, 2.4655, 15.0178)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20206E #6E6E20
analogous
#20476E #20206E #47206E
triadic
#20206E #6E2020 #206E20
tetradic
#20206E #6E2047 #6E6E20 #206E47
square
#20206E #6E2047 #6E6E20 #206E47
split-complementary
#20206E #6E4720 #476E20
monochromatic
#070718 #12123F #20206E #2E2E9D #4141C8

Accessibility & contrast

On white

14.06
#20206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20206E
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20206E#FFFFFF#000000##FFFFFF
##20206E1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #20206e;
/* rgb */ color: rgb(32, 32, 110);
/* oklch */ color: oklch(30.2% 0.131 275.2);
Tailwind
colors: {
  custom: {
    50: '#675c98',
    500: '#20206e',
    950: '#000000',
  },
}
SCSS
$custom: #20206e;
$custom-light: #675c98;
$custom-dark: #000000;
JSON
{
  "hex": "#20206e",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 240,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30241,
    "c": 0.13085,
    "h": 275.2
  },
  "luminance": 0.02466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20206E

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

Preview Lab → · Contrast checker → · Palette generator →

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