#32418D#32418D

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

Color values

HEX#32418D
RGBrgb(50, 65, 141)
HSLhsl(230, 48%, 37%)
HSVhsv(230, 65%, 55%)
CMYKcmyk(64.5%, 53.9%, 0%, 44.7%)
CIE-LABlab(30.35, 19.43, -44.16)
CIE-LCHlch(30.35, 48.25, 293.74°)
OKLaboklab(40.7% 0.0029 -0.1267)
OKLCHoklch(40.7% 0.127 271.3)
XYZxyz(8.0118, 6.3811, 26.0036)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32418D #8D7E32
analogous
#326E8D #32418D #51328D
triadic
#32418D #8D3241 #418D32
tetradic
#32418D #8D326E #8D7E32 #328D51
square
#32418D #8D326E #8D7E32 #328D51
split-complementary
#32418D #8D5132 #6E8D32
monochromatic
#121733 #222C60 #32418D #4256BA #6E7DCC

Accessibility & contrast

On white

9.23
#32418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32418D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32418D#FFFFFF#000000##FFFFFF
##32418D1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #32418d;
/* rgb */ color: rgb(50, 65, 141);
/* oklch */ color: oklch(40.7% 0.127 271.3);
Tailwind
colors: {
  custom: {
    50: '#7475af',
    500: '#32418d',
    950: '#000000',
  },
}
SCSS
$custom: #32418d;
$custom-light: #7475af;
$custom-dark: #000000;
JSON
{
  "hex": "#32418d",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 230.11,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40697,
    "c": 0.12671,
    "h": 271.3
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#32418D
secondary
#B3A768
accent
#C151D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #32418D

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

Preview Lab → · Contrast checker → · Palette generator →

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