#20205A#20205A

#20205A is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.102 H 277.7°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#20205A
RGBrgb(32, 32, 90)
HSLhsl(240, 48%, 24%)
HSVhsv(240, 64%, 35%)
CMYKcmyk(64.4%, 64.4%, 0%, 64.7%)
CIE-LABlab(15.89, 19.79, -35.00)
CIE-LCHlch(15.89, 40.21, 299.49°)
OKLaboklab(28.3% 0.0136 -0.1006)
OKLCHoklch(28.3% 0.102 277.7)
XYZxyz(2.9570, 2.0781, 9.9162)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20205A #5A5A20
analogous
#203D5A #20205A #3D205A
triadic
#20205A #5A2020 #205A20
tetradic
#20205A #5A203D #5A5A20 #205A3D
square
#20205A #5A203D #5A5A20 #205A3D
split-complementary
#20205A #5A3D20 #3D5A20
monochromatic
#080817 #10102D #20205A #303087 #4040B4

Accessibility & contrast

On white

14.83
#20205A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20205A
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20205A#FFFFFF#000000##FFFFFF
##20205A1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5C
Deuteranopia (green-blind)
#002559
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #20205a;
/* rgb */ color: rgb(32, 32, 90);
/* oklch */ color: oklch(28.3% 0.102 277.7);
Tailwind
colors: {
  custom: {
    50: '#635b89',
    500: '#20205a',
    950: '#000000',
  },
}
SCSS
$custom: #20205a;
$custom-light: #635b89;
$custom-dark: #000000;
JSON
{
  "hex": "#20205a",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 90
  },
  "hsl": {
    "h": 240,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28296,
    "c": 0.10151,
    "h": 277.7
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#20205A
secondary
#8E8E47
accent
#D751D7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #20205A

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

Preview Lab → · Contrast checker → · Palette generator →

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