#32408F#32408F

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

Color values

HEX#32408F
RGBrgb(50, 64, 143)
HSLhsl(231, 48%, 38%)
HSVhsv(231, 65%, 56%)
CMYKcmyk(65%, 55.2%, 0%, 43.9%)
CIE-LABlab(30.22, 20.84, -45.60)
CIE-LCHlch(30.22, 50.14, 294.56°)
OKLaboklab(40.64% 0.004 -0.1309)
OKLCHoklch(40.64% 0.131 271.7)
XYZxyz(8.1051, 6.3274, 26.7755)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32408F #8F8132
analogous
#326E8F #32408F #52328F
triadic
#32408F #8F3240 #408F32
tetradic
#32408F #8F326E #8F8132 #328F52
square
#32408F #8F326E #8F8132 #328F52
split-complementary
#32408F #8F5232 #6E8F32
monochromatic
#121734 #222C62 #32408F #4254BC #6F7DCD

Accessibility & contrast

On white

9.27
#32408F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#32408F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32408F
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32408F#FFFFFF#000000##FFFFFF
##32408F1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084B92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #32408f;
/* rgb */ color: rgb(50, 64, 143);
/* oklch */ color: oklch(40.6% 0.131 271.7);
Tailwind
colors: {
  custom: {
    50: '#7474b0',
    500: '#32408f',
    950: '#000000',
  },
}
SCSS
$custom: #32408f;
$custom-light: #7474b0;
$custom-dark: #000000;
JSON
{
  "hex": "#32408f",
  "rgb": {
    "r": 50,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 230.968,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40645,
    "c": 0.131,
    "h": 271.7
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#32408F
secondary
#B4A968
accent
#C350D8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #32408F

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

Preview Lab → · Contrast checker → · Palette generator →

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