#32418E#32418E

#32418E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.128 H 271.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#32418E
RGBrgb(50, 65, 142)
HSLhsl(230, 48%, 38%)
HSVhsv(230, 65%, 56%)
CMYKcmyk(64.8%, 54.2%, 0%, 44.3%)
CIE-LABlab(30.43, 19.80, -44.66)
CIE-LCHlch(30.43, 48.85, 293.90°)
OKLaboklab(40.77% 0.0029 -0.1281)
OKLCHoklch(40.77% 0.128 271.3)
XYZxyz(8.0865, 6.4110, 26.3972)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32418E #8E7F32
analogous
#326F8E #32418E #51328E
triadic
#32418E #8E3241 #418E32
tetradic
#32418E #8E326F #8E7F32 #328E51
square
#32418E #8E326F #8E7F32 #328E51
split-complementary
#32418E #8E5132 #6F8E32
monochromatic
#121833 #222C61 #32418E #4256BB #6E7ECC

Accessibility & contrast

On white

9.20
#32418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#32418E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32418E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32418E#FFFFFF#000000##FFFFFF
##32418E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104C91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #32418e;
/* rgb */ color: rgb(50, 65, 142);
/* oklch */ color: oklch(40.8% 0.128 271.3);
Tailwind
colors: {
  custom: {
    50: '#7475b0',
    500: '#32418e',
    950: '#000000',
  },
}
SCSS
$custom: #32418e;
$custom-light: #7475b0;
$custom-dark: #000000;
JSON
{
  "hex": "#32418e",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 230.217,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.12818,
    "h": 271.3
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#32418E
secondary
#B4A768
accent
#C150D8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #32418E

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

Preview Lab → · Contrast checker → · Palette generator →

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