#20328E#20328E

#20328E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.153 H 268.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#20328E
RGBrgb(32, 50, 142)
HSLhsl(230, 63%, 34%)
HSVhsv(230, 77%, 56%)
CMYKcmyk(77.5%, 64.8%, 0%, 44.3%)
CIE-LABlab(25.38, 27.31, -52.91)
CIE-LCHlch(25.38, 59.54, 297.30°)
OKLaboklab(36.74% -0.0032 -0.153)
OKLCHoklch(36.74% 0.153 268.8)
XYZxyz(6.6171, 4.5406, 26.1136)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20328E #8E7C20
analogous
#20698E #20328E #45208E
triadic
#20328E #8E2032 #328E20
tetradic
#20328E #8E2069 #8E7C20 #208E45
square
#20328E #8E2069 #8E7C20 #208E45
split-complementary
#20328E #8E4520 #698E20
monochromatic
#090F2A #15205C #20328E #2B44C0 #5167D8

Accessibility & contrast

On white

11.01
#20328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#20328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20328E
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20328E#FFFFFF#000000##FFFFFF
##20328E1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #20328e;
/* rgb */ color: rgb(32, 50, 142);
/* oklch */ color: oklch(36.7% 0.153 268.8);
Tailwind
colors: {
  custom: {
    50: '#6e69b0',
    500: '#20328e',
    950: '#000000',
  },
}
SCSS
$custom: #20328e;
$custom-light: #6e69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#20328e",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 230.182,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36745,
    "c": 0.15302,
    "h": 268.8
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#20328E
secondary
#BBA94F
accent
#CB42E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #20328E

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

Preview Lab → · Contrast checker → · Palette generator →

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