#32408C#32408C

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

Color values

HEX#32408C
RGBrgb(50, 64, 140)
HSLhsl(231, 47%, 37%)
HSVhsv(231, 64%, 55%)
CMYKcmyk(64.3%, 54.3%, 0%, 45.1%)
CIE-LABlab(30.00, 19.73, -44.11)
CIE-LCHlch(30.00, 48.33, 294.10°)
OKLaboklab(40.41% 0.0038 -0.1265)
OKLCHoklch(40.41% 0.127 271.7)
XYZxyz(7.8808, 6.2377, 25.5945)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32408C #8C7E32
analogous
#326D8C #32408C #51328C
triadic
#32408C #8C3240 #408C32
tetradic
#32408C #8C326D #8C7E32 #328C51
square
#32408C #8C326D #8C7E32 #328C51
split-complementary
#32408C #8C5132 #6D8C32
monochromatic
#121732 #222B5F #32408C #4255B9 #6D7CCB

Accessibility & contrast

On white

9.34
#32408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32408C
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32408C#FFFFFF#000000##FFFFFF
##32408C1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104B8F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #32408c;
/* rgb */ color: rgb(50, 64, 140);
/* oklch */ color: oklch(40.4% 0.127 271.7);
Tailwind
colors: {
  custom: {
    50: '#7474ae',
    500: '#32408c',
    950: '#000000',
  },
}
SCSS
$custom: #32408c;
$custom-light: #7474ae;
$custom-dark: #000000;
JSON
{
  "hex": "#32408c",
  "rgb": {
    "r": 50,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 230.667,
    "s": 47.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4041,
    "c": 0.12661,
    "h": 271.7
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #32408C

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

Preview Lab → · Contrast checker → · Palette generator →

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