#20206F#20206F

#20206F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.132 H 275.1°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#20206F
RGBrgb(32, 32, 111)
HSLhsl(240, 55%, 28%)
HSVhsv(240, 71%, 44%)
CMYKcmyk(71.2%, 71.2%, 0%, 56.5%)
CIE-LABlab(17.86, 27.68, -45.61)
CIE-LCHlch(17.86, 53.35, 301.25°)
OKLaboklab(30.34% 0.0118 -0.1317)
OKLCHoklch(30.34% 0.132 275.1)
XYZxyz(3.9805, 2.4874, 15.3062)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20206F #6F6F20
analogous
#20476F #20206F #47206F
triadic
#20206F #6F2020 #206F20
tetradic
#20206F #6F2047 #6F6F20 #206F47
square
#20206F #6F2047 #6F6F20 #206F47
split-complementary
#20206F #6F4720 #476F20
monochromatic
#070718 #12123F #20206F #2E2E9F #4141C8

Accessibility & contrast

On white

14.02
#20206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#20206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20206F
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20206F#FFFFFF#000000##FFFFFF
##20206F1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #20206f;
/* rgb */ color: rgb(32, 32, 111);
/* oklch */ color: oklch(30.3% 0.132 275.1);
Tailwind
colors: {
  custom: {
    50: '#685c99',
    500: '#20206f',
    950: '#000000',
  },
}
SCSS
$custom: #20206f;
$custom-light: #685c99;
$custom-dark: #000000;
JSON
{
  "hex": "#20206f",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 240,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30344,
    "c": 0.13225,
    "h": 275.1
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#20206F
secondary
#A3A348
accent
#DF49DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #20206F

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

Preview Lab → · Contrast checker → · Palette generator →

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