#20203C#20203C

#20203C is a dark, muted blue. Relative luminance 0.017; OKLCH L 25.9% C 0.052 H 282.1°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#20203C
RGBrgb(32, 32, 60)
HSLhsl(240, 30%, 18%)
HSVhsv(240, 47%, 24%)
CMYKcmyk(46.7%, 46.7%, 0%, 76.5%)
CIE-LABlab(13.63, 8.64, -18.03)
CIE-LCHlch(13.63, 20.00, 295.61°)
OKLaboklab(25.87% 0.0109 -0.0508)
OKLCHoklch(25.87% 0.052 282.1)
XYZxyz(1.9276, 1.6663, 4.4941)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20203C #3C3C20
analogous
#202E3C #20203C #2E203C
triadic
#20203C #3C2020 #203C20
tetradic
#20203C #3C202E #3C3C20 #203C2E
square
#20203C #3C202E #3C3C20 #203C2E
split-complementary
#20203C #3C2E20 #2E3C20
monochromatic
#0B0B14 #0B0B14 #20203C #353564 #4B4B8C

Accessibility & contrast

On white

15.75
#20203C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#20203C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20203C
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20203C#FFFFFF#000000##FFFFFF
##20203C1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16243D
Deuteranopia (green-blind)
#15223B
Tritanopia (blue-blind)
#18262B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #20203c;
/* rgb */ color: rgb(32, 32, 60);
/* oklch */ color: oklch(25.9% 0.052 282.1);
Tailwind
colors: {
  custom: {
    50: '#5d5b72',
    500: '#20203c',
    950: '#000000',
  },
}
SCSS
$custom: #20203c;
$custom-light: #5d5b72;
$custom-dark: #000000;
JSON
{
  "hex": "#20203c",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 60
  },
  "hsl": {
    "h": 240,
    "s": 30.435,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25874,
    "c": 0.05195,
    "h": 282.1
  },
  "luminance": 0.01666
}

Semantic roles & 50–950 ramp

primary
#20203C
secondary
#6F6F48
accent
#C761C7
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040408
muted
#79797B

Preview Lab

Preview with #20203C

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

Preview Lab → · Contrast checker → · Palette generator →

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