#32417E#32417E

#32417E is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.104 H 270.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#32417E
RGBrgb(50, 65, 126)
HSLhsl(228, 43%, 35%)
HSVhsv(228, 60%, 49%)
CMYKcmyk(60.3%, 48.4%, 0%, 50.6%)
CIE-LABlab(29.32, 13.93, -36.52)
CIE-LCHlch(29.32, 39.09, 290.88°)
OKLaboklab(39.58% 0.0011 -0.1042)
OKLCHoklch(39.58% 0.104 270.6)
XYZxyz(6.9703, 5.9645, 20.5186)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32417E #7E6F32
analogous
#32677E #32417E #49327E
triadic
#32417E #7E3241 #417E32
tetradic
#32417E #7E3267 #7E6F32 #327E49
square
#32417E #7E3267 #7E6F32 #327E49
split-complementary
#32417E #7E4932 #677E32
monochromatic
#0F1426 #212A52 #32417E #4358AA #687AC3

Accessibility & contrast

On white

9.58
#32417E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#32417E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32417E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32417E#FFFFFF#000000##FFFFFF
##32417E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244980
Deuteranopia (green-blind)
#19427D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #32417e;
/* rgb */ color: rgb(50, 65, 126);
/* oklch */ color: oklch(39.6% 0.104 270.6);
Tailwind
colors: {
  custom: {
    50: '#7175a4',
    500: '#32417e',
    950: '#000000',
  },
}
SCSS
$custom: #32417e;
$custom-light: #7175a4;
$custom-dark: #000000;
JSON
{
  "hex": "#32417e",
  "rgb": {
    "r": 50,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 228.158,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39584,
    "c": 0.10421,
    "h": 270.6
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#32417E
secondary
#AB9C61
accent
#BA55D3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #32417E

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

Preview Lab → · Contrast checker → · Palette generator →

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