#32408D#32408D

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

Color values

HEX#32408D
RGBrgb(50, 64, 141)
HSLhsl(231, 48%, 37%)
HSVhsv(231, 65%, 55%)
CMYKcmyk(64.5%, 54.6%, 0%, 44.7%)
CIE-LABlab(30.08, 20.10, -44.61)
CIE-LCHlch(30.08, 48.93, 294.26°)
OKLaboklab(40.49% 0.0039 -0.128)
OKLCHoklch(40.49% 0.128 271.7)
XYZxyz(7.9549, 6.2673, 25.9846)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32408D #8D7F32
analogous
#326E8D #32408D #51328D
triadic
#32408D #8D3240 #408D32
tetradic
#32408D #8D326E #8D7F32 #328D51
square
#32408D #8D326E #8D7F32 #328D51
split-complementary
#32408D #8D5132 #6E8D32
monochromatic
#121733 #222B60 #32408D #4255BA #6E7CCC

Accessibility & contrast

On white

9.32
#32408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#32408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32408D
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32408D#FFFFFF#000000##FFFFFF
##32408D1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #32408d;
/* rgb */ color: rgb(50, 64, 141);
/* oklch */ color: oklch(40.5% 0.128 271.7);
Tailwind
colors: {
  custom: {
    50: '#7474af',
    500: '#32408d',
    950: '#000000',
  },
}
SCSS
$custom: #32408d;
$custom-light: #7474af;
$custom-dark: #000000;
JSON
{
  "hex": "#32408d",
  "rgb": {
    "r": 50,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 230.769,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40488,
    "c": 0.12807,
    "h": 271.7
  },
  "luminance": 0.06268
}

Semantic roles & 50–950 ramp

primary
#32408D
secondary
#B3A868
accent
#C351D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #32408D

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

Preview Lab → · Contrast checker → · Palette generator →

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