#32407E#32407E

#32407E is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.106 H 271.2°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#32407E
RGBrgb(50, 64, 126)
HSLhsl(229, 43%, 35%)
HSVhsv(229, 60%, 49%)
CMYKcmyk(60.3%, 49.2%, 0%, 50.6%)
CIE-LABlab(29.03, 14.61, -36.99)
CIE-LCHlch(29.03, 39.77, 291.55°)
OKLaboklab(39.36% 0.0023 -0.1056)
OKLCHoklch(39.36% 0.106 271.2)
XYZxyz(6.9134, 5.8507, 20.4996)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32407E #7E7032
analogous
#32667E #32407E #4A327E
triadic
#32407E #7E3240 #407E32
tetradic
#32407E #7E3266 #7E7032 #327E4A
square
#32407E #7E3266 #7E7032 #327E4A
split-complementary
#32407E #7E4A32 #667E32
monochromatic
#0F1326 #212A52 #32407E #4356AA #6878C3

Accessibility & contrast

On white

9.68
#32407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#32407E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32407E
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32407E#FFFFFF#000000##FFFFFF
##32407E1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224880
Deuteranopia (green-blind)
#16417D
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #32407e;
/* rgb */ color: rgb(50, 64, 126);
/* oklch */ color: oklch(39.4% 0.106 271.2);
Tailwind
colors: {
  custom: {
    50: '#7174a4',
    500: '#32407e',
    950: '#000000',
  },
}
SCSS
$custom: #32407e;
$custom-light: #7174a4;
$custom-dark: #000000;
JSON
{
  "hex": "#32407e",
  "rgb": {
    "r": 50,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 228.947,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39364,
    "c": 0.1056,
    "h": 271.2
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#32407E
secondary
#AB9D61
accent
#BC55D3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #32407E

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

Preview Lab → · Contrast checker → · Palette generator →

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