#20328F#20328F

#20328F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.154 H 268.8°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#20328F
RGBrgb(32, 50, 143)
HSLhsl(230, 63%, 34%)
HSVhsv(230, 78%, 56%)
CMYKcmyk(77.6%, 65%, 0%, 43.9%)
CIE-LABlab(25.47, 27.70, -53.38)
CIE-LCHlch(25.47, 60.14, 297.42°)
OKLaboklab(36.84% -0.0033 -0.1544)
OKLCHoklch(36.84% 0.154 268.8)
XYZxyz(6.6925, 4.5707, 26.5108)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20328F #8F7D20
analogous
#206A8F #20328F #45208F
triadic
#20328F #8F2032 #328F20
tetradic
#20328F #8F206A #8F7D20 #208F45
square
#20328F #8F206A #8F7D20 #208F45
split-complementary
#20328F #8F4520 #6A8F20
monochromatic
#0A0F2B #15215D #20328F #2B43C1 #5167D8

Accessibility & contrast

On white

10.97
#20328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20328F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20328F#FFFFFF#000000##FFFFFF
##20328F1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20328f;
/* rgb */ color: rgb(32, 50, 143);
/* oklch */ color: oklch(36.8% 0.154 268.8);
Tailwind
colors: {
  custom: {
    50: '#6e69b1',
    500: '#20328f',
    950: '#000000',
  },
}
SCSS
$custom: #20328f;
$custom-light: #6e69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#20328f",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 230.27,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36841,
    "c": 0.15439,
    "h": 268.8
  },
  "luminance": 0.04571
}

Semantic roles & 50–950 ramp

primary
#20328F
secondary
#BBAA4F
accent
#CC41E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #20328F

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

Preview Lab → · Contrast checker → · Palette generator →

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