#20205F#20205F

#20205F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.109 H 277.1°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#20205F
RGBrgb(32, 32, 95)
HSLhsl(240, 50%, 25%)
HSVhsv(240, 66%, 37%)
CMYKcmyk(66.3%, 66.3%, 0%, 62.7%)
CIE-LABlab(16.34, 21.69, -37.61)
CIE-LCHlch(16.34, 43.41, 299.97°)
OKLaboklab(28.76% 0.0134 -0.1083)
OKLCHoklch(28.76% 0.109 277.1)
XYZxyz(3.1771, 2.1661, 11.0749)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20205F #5F5F20
analogous
#20405F #20205F #40205F
triadic
#20205F #5F2020 #205F20
tetradic
#20205F #5F2040 #5F5F20 #205F40
square
#20205F #5F2040 #5F5F20 #205F40
split-complementary
#20205F #5F4020 #405F20
monochromatic
#080817 #111131 #20205F #2F2F8D #3F3FBB

Accessibility & contrast

On white

14.65
#20205F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20205F
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20205F#FFFFFF#000000##FFFFFF
##20205F1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #20205f;
/* rgb */ color: rgb(32, 32, 95);
/* oklch */ color: oklch(28.8% 0.109 277.1);
Tailwind
colors: {
  custom: {
    50: '#645b8d',
    500: '#20205f',
    950: '#000000',
  },
}
SCSS
$custom: #20205f;
$custom-light: #645b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#20205f",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 95
  },
  "hsl": {
    "h": 240,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28761,
    "c": 0.10909,
    "h": 277.1
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#20205F
secondary
#939347
accent
#D94FD9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #20205F

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

Preview Lab → · Contrast checker → · Palette generator →

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