#20327F#20327F

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

Color values

HEX#20327F
RGBrgb(32, 50, 127)
HSLhsl(229, 60%, 31%)
HSVhsv(229, 75%, 50%)
CMYKcmyk(74.8%, 60.6%, 0%, 50.2%)
CIE-LABlab(24.06, 21.47, -45.70)
CIE-LCHlch(24.06, 50.49, 295.17°)
OKLaboklab(35.36% -0.0031 -0.1318)
OKLCHoklch(35.36% 0.132 268.6)
XYZxyz(5.5657, 4.1200, 20.5765)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20327F #7F6D20
analogous
#20617F #20327F #3D207F
triadic
#20327F #7F2032 #327F20
tetradic
#20327F #7F2061 #7F6D20 #207F3D
square
#20327F #7F2061 #7F6D20 #207F3D
split-complementary
#20327F #7F3D20 #617F20
monochromatic
#070C1D #141F4E #20327F #2C45B0 #4862D1

Accessibility & contrast

On white

11.51
#20327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20327F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20327F#FFFFFF#000000##FFFFFF
##20327F1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20327f;
/* rgb */ color: rgb(32, 50, 127);
/* oklch */ color: oklch(35.4% 0.132 268.6);
Tailwind
colors: {
  custom: {
    50: '#6a69a5',
    500: '#20327f',
    950: '#000000',
  },
}
SCSS
$custom: #20327f;
$custom-light: #6a69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#20327f",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 228.632,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35358,
    "c": 0.13186,
    "h": 268.6
  },
  "luminance": 0.04121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20327F

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

Preview Lab → · Contrast checker → · Palette generator →

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