#20327E#20327E

#20327E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.130 H 268.6°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#20327E
RGBrgb(32, 50, 126)
HSLhsl(229, 59%, 31%)
HSVhsv(229, 75%, 49%)
CMYKcmyk(74.6%, 60.3%, 0%, 50.6%)
CIE-LABlab(23.98, 21.08, -45.20)
CIE-LCHlch(23.98, 49.87, 295.00°)
OKLaboklab(35.27% -0.0031 -0.1304)
OKLCHoklch(35.27% 0.13 268.6)
XYZxyz(5.5009, 4.0941, 20.2349)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20327E #7E6C20
analogous
#20617E #20327E #3D207E
triadic
#20327E #7E2032 #327E20
tetradic
#20327E #7E2061 #7E6C20 #207E3D
square
#20327E #7E2061 #7E6C20 #207E3D
split-complementary
#20327E #7E3D20 #617E20
monochromatic
#070B1C #141F4D #20327E #2C45AF #4862D0

Accessibility & contrast

On white

11.54
#20327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#20327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20327E
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20327E#FFFFFF#000000##FFFFFF
##20327E1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20327e;
/* rgb */ color: rgb(32, 50, 126);
/* oklch */ color: oklch(35.3% 0.130 268.6);
Tailwind
colors: {
  custom: {
    50: '#6a69a4',
    500: '#20327e',
    950: '#000000',
  },
}
SCSS
$custom: #20327e;
$custom-light: #6a69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#20327e",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 228.511,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35268,
    "c": 0.13041,
    "h": 268.6
  },
  "luminance": 0.04095
}

Semantic roles & 50–950 ramp

primary
#20327E
secondary
#B19D49
accent
#C545E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20327E

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

Preview Lab → · Contrast checker → · Palette generator →

#20327E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva