#20205B#20205B

#20205B is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.103 H 277.6°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#20205B
RGBrgb(32, 32, 91)
HSLhsl(240, 48%, 24%)
HSVhsv(240, 65%, 36%)
CMYKcmyk(64.8%, 64.8%, 0%, 64.3%)
CIE-LABlab(15.98, 20.17, -35.52)
CIE-LCHlch(15.98, 40.85, 299.59°)
OKLaboklab(28.39% 0.0136 -0.1021)
OKLCHoklch(28.39% 0.103 277.6)
XYZxyz(2.9999, 2.0952, 10.1418)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20205B #5B5B20
analogous
#203E5B #20205B #3E205B
triadic
#20205B #5B2020 #205B20
tetradic
#20205B #5B203E #5B5B20 #205B3E
square
#20205B #5B203E #5B5B20 #205B3E
split-complementary
#20205B #5B3E20 #3E5B20
monochromatic
#080817 #10102E #20205B #303088 #4040B6

Accessibility & contrast

On white

14.80
#20205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#20205B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20205B
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20205B#FFFFFF#000000##FFFFFF
##20205B1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #20205b;
/* rgb */ color: rgb(32, 32, 91);
/* oklch */ color: oklch(28.4% 0.103 277.6);
Tailwind
colors: {
  custom: {
    50: '#635b8a',
    500: '#20205b',
    950: '#000000',
  },
}
SCSS
$custom: #20205b;
$custom-light: #635b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#20205b",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 240,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28388,
    "c": 0.10304,
    "h": 277.6
  },
  "luminance": 0.02095
}

Semantic roles & 50–950 ramp

primary
#20205B
secondary
#8F8F47
accent
#D850D8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #20205B

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

Preview Lab → · Contrast checker → · Palette generator →

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