#20206C#20206C

#20206C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.128 H 275.5°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#20206C
RGBrgb(32, 32, 108)
HSLhsl(240, 54%, 27%)
HSVhsv(240, 70%, 42%)
CMYKcmyk(70.4%, 70.4%, 0%, 57.6%)
CIE-LABlab(17.56, 26.57, -44.15)
CIE-LCHlch(17.56, 51.52, 301.04°)
OKLaboklab(30.04% 0.0122 -0.1274)
OKLCHoklch(30.04% 0.128 275.5)
XYZxyz(3.8181, 2.4225, 14.4508)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20206C #6C6C20
analogous
#20466C #20206C #46206C
triadic
#20206C #6C2020 #206C20
tetradic
#20206C #6C2046 #6C6C20 #206C46
square
#20206C #6C2046 #6C6C20 #206C46
split-complementary
#20206C #6C4620 #466C20
monochromatic
#070718 #12123D #20206C #2E2E9B #4040C6

Accessibility & contrast

On white

14.15
#20206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#20206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20206C
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20206C#FFFFFF#000000##FFFFFF
##20206C1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20206c;
/* rgb */ color: rgb(32, 32, 108);
/* oklch */ color: oklch(30.0% 0.128 275.5);
Tailwind
colors: {
  custom: {
    50: '#675c97',
    500: '#20206c',
    950: '#000000',
  },
}
SCSS
$custom: #20206c;
$custom-light: #675c97;
$custom-dark: #000000;
JSON
{
  "hex": "#20206c",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 240,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30037,
    "c": 0.12802,
    "h": 275.5
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20206C

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

Preview Lab → · Contrast checker → · Palette generator →

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