#32418B#32418B

#32418B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.124 H 271.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#32418B
RGBrgb(50, 65, 139)
HSLhsl(230, 47%, 37%)
HSVhsv(230, 64%, 55%)
CMYKcmyk(64%, 53.2%, 0%, 45.5%)
CIE-LABlab(30.21, 18.69, -43.16)
CIE-LCHlch(30.21, 47.04, 293.41°)
OKLaboklab(40.54% 0.0027 -0.1237)
OKLCHoklch(40.54% 0.124 271.2)
XYZxyz(7.8643, 6.3221, 25.2269)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32418B #8B7C32
analogous
#326E8B #32418B #50328B
triadic
#32418B #8B3241 #418B32
tetradic
#32418B #8B326E #8B7C32 #328B50
square
#32418B #8B326E #8B7C32 #328B50
split-complementary
#32418B #8B5032 #6E8B32
monochromatic
#121731 #222C5E #32418B #4256B8 #6D7DCA

Accessibility & contrast

On white

9.27
#32418B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#32418B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32418B
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32418B#FFFFFF#000000##FFFFFF
##32418B1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8E
Deuteranopia (green-blind)
#004389
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #32418b;
/* rgb */ color: rgb(50, 65, 139);
/* oklch */ color: oklch(40.5% 0.124 271.2);
Tailwind
colors: {
  custom: {
    50: '#7375ad',
    500: '#32418b',
    950: '#000000',
  },
}
SCSS
$custom: #32418b;
$custom-light: #7375ad;
$custom-dark: #000000;
JSON
{
  "hex": "#32418b",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 229.888,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40543,
    "c": 0.12377,
    "h": 271.2
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#32418B
secondary
#B2A567
accent
#C051D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #32418B

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

Preview Lab → · Contrast checker → · Palette generator →

#32418B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva