#20205D#20205D

#20205D is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.6% C 0.106 H 277.3°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#20205D
RGBrgb(32, 32, 93)
HSLhsl(240, 49%, 25%)
HSVhsv(240, 66%, 36%)
CMYKcmyk(65.6%, 65.6%, 0%, 63.5%)
CIE-LABlab(16.16, 20.93, -36.57)
CIE-LCHlch(16.16, 42.14, 299.78°)
OKLaboklab(28.57% 0.0135 -0.1052)
OKLCHoklch(28.57% 0.106 277.3)
XYZxyz(3.0873, 2.1302, 10.6023)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20205D #5D5D20
analogous
#203F5D #20205D #3F205D
triadic
#20205D #5D2020 #205D20
tetradic
#20205D #5D203F #5D5D20 #205D3F
square
#20205D #5D203F #5D5D20 #205D3F
split-complementary
#20205D #5D3F20 #3F5D20
monochromatic
#080817 #10102F #20205D #30308B #3F3FB8

Accessibility & contrast

On white

14.73
#20205D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#20205D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20205D
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20205D#FFFFFF#000000##FFFFFF
##20205D1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #20205d;
/* rgb */ color: rgb(32, 32, 93);
/* oklch */ color: oklch(28.6% 0.106 277.3);
Tailwind
colors: {
  custom: {
    50: '#635b8b',
    500: '#20205d',
    950: '#000000',
  },
}
SCSS
$custom: #20205d;
$custom-light: #635b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#20205d",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 93
  },
  "hsl": {
    "h": 240,
    "s": 48.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28573,
    "c": 0.10608,
    "h": 277.3
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#20205D
secondary
#919147
accent
#D84FD8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #20205D

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

Preview Lab → · Contrast checker → · Palette generator →

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