#32408B#32408B

#32408B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.125 H 271.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#32408B
RGBrgb(50, 64, 139)
HSLhsl(231, 47%, 37%)
HSVhsv(231, 64%, 55%)
CMYKcmyk(64%, 54%, 0%, 45.5%)
CIE-LABlab(29.93, 19.37, -43.61)
CIE-LCHlch(29.93, 47.72, 293.94°)
OKLaboklab(40.33% 0.0037 -0.1251)
OKLCHoklch(40.33% 0.125 271.7)
XYZxyz(7.8074, 6.2083, 25.2080)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32408B #8B7D32
analogous
#326D8B #32408B #51328B
triadic
#32408B #8B3240 #408B32
tetradic
#32408B #8B326D #8B7D32 #328B51
square
#32408B #8B326D #8B7D32 #328B51
split-complementary
#32408B #8B5132 #6D8B32
monochromatic
#121731 #222B5E #32408B #4255B8 #6D7CCA

Accessibility & contrast

On white

9.37
#32408B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#32408B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32408B
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32408B#FFFFFF#000000##FFFFFF
##32408B1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #32408b;
/* rgb */ color: rgb(50, 64, 139);
/* oklch */ color: oklch(40.3% 0.125 271.7);
Tailwind
colors: {
  custom: {
    50: '#7474ad',
    500: '#32408b',
    950: '#000000',
  },
}
SCSS
$custom: #32408b;
$custom-light: #7474ad;
$custom-dark: #000000;
JSON
{
  "hex": "#32408b",
  "rgb": {
    "r": 50,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 230.562,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40333,
    "c": 0.12514,
    "h": 271.7
  },
  "luminance": 0.06209
}

Semantic roles & 50–950 ramp

primary
#32408B
secondary
#B2A667
accent
#C251D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #32408B

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

Preview Lab → · Contrast checker → · Palette generator →

#32408B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva