#32408E#32408E

#32408E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.130 H 271.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#32408E
RGBrgb(50, 64, 142)
HSLhsl(231, 48%, 38%)
HSVhsv(231, 65%, 56%)
CMYKcmyk(64.8%, 54.9%, 0%, 44.3%)
CIE-LABlab(30.15, 20.47, -45.11)
CIE-LCHlch(30.15, 49.54, 294.41°)
OKLaboklab(40.57% 0.0039 -0.1295)
OKLCHoklch(40.57% 0.13 271.7)
XYZxyz(8.0296, 6.2972, 26.3783)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32408E #8E8032
analogous
#326E8E #32408E #52328E
triadic
#32408E #8E3240 #408E32
tetradic
#32408E #8E326E #8E8032 #328E52
square
#32408E #8E326E #8E8032 #328E52
split-complementary
#32408E #8E5232 #6E8E32
monochromatic
#121733 #222C61 #32408E #4254BB #6E7DCC

Accessibility & contrast

On white

9.29
#32408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#32408E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32408E
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32408E#FFFFFF#000000##FFFFFF
##32408E1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #32408e;
/* rgb */ color: rgb(50, 64, 142);
/* oklch */ color: oklch(40.6% 0.130 271.7);
Tailwind
colors: {
  custom: {
    50: '#7474b0',
    500: '#32408e',
    950: '#000000',
  },
}
SCSS
$custom: #32408e;
$custom-light: #7474b0;
$custom-dark: #000000;
JSON
{
  "hex": "#32408e",
  "rgb": {
    "r": 50,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 230.87,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40566,
    "c": 0.12954,
    "h": 271.7
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#32408E
secondary
#B4A868
accent
#C350D8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #32408E

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

Preview Lab → · Contrast checker → · Palette generator →

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