#32517E#32517E

#32517E is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.3% C 0.084 H 257.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#32517E
RGBrgb(50, 81, 126)
HSLhsl(216, 43%, 35%)
HSVhsv(216, 60%, 49%)
CMYKcmyk(60.3%, 35.7%, 0%, 50.6%)
CIE-LABlab(34.13, 3.27, -28.89)
CIE-LCHlch(34.13, 29.07, 276.46°)
OKLaboklab(43.29% -0.0178 -0.0817)
OKLCHoklch(43.29% 0.084 257.7)
XYZxyz(8.0224, 8.0686, 20.8693)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32517E #7E5F32
analogous
#32777E #32517E #39327E
triadic
#32517E #7E3251 #517E32
tetradic
#32517E #7E3277 #7E5F32 #327E39
square
#32517E #7E3277 #7E5F32 #327E39
split-complementary
#32517E #7E3932 #777E32
monochromatic
#0F1926 #213552 #32517E #436DAA #688DC3

Accessibility & contrast

On white

8.03
#32517E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#32517E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32517E
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32517E#FFFFFF#000000##FFFFFF
##32517E1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#354D7D
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #32517e;
/* rgb */ color: rgb(50, 81, 126);
/* oklch */ color: oklch(43.3% 0.084 257.7);
Tailwind
colors: {
  custom: {
    50: '#7181a3',
    500: '#32517e',
    950: '#000000',
  },
}
SCSS
$custom: #32517e;
$custom-light: #7181a3;
$custom-dark: #000000;
JSON
{
  "hex": "#32517e",
  "rgb": {
    "r": 50,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 215.526,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43289,
    "c": 0.0836,
    "h": 257.7
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#32517E
secondary
#AB8D61
accent
#A055D3
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #32517E

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

Preview Lab → · Contrast checker → · Palette generator →

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