#32317D#32317D

#32317D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.125 H 278.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#32317D
RGBrgb(50, 49, 125)
HSLhsl(241, 44%, 34%)
HSVhsv(241, 61%, 49%)
CMYKcmyk(60%, 60.8%, 0%, 51%)
CIE-LABlab(24.81, 24.43, -43.17)
CIE-LCHlch(24.81, 49.60, 299.51°)
OKLaboklab(36.17% 0.0189 -0.1239)
OKLCHoklch(36.17% 0.125 278.7)
XYZxyz(6.1142, 4.3550, 19.9165)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32317D #7C7D31
analogous
#31567D #32317D #58317D
triadic
#32317D #7D3231 #317D32
tetradic
#32317D #7D3156 #7C7D31 #317D58
square
#32317D #7D3156 #7C7D31 #317D58
split-complementary
#32317D #7D5831 #567D31
monochromatic
#0F0F25 #202051 #32317D #4442A9 #6766C3

Accessibility & contrast

On white

11.22
#32317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#32317D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32317D
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32317D#FFFFFF#000000##FFFFFF
##32317D1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#034352
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #32317d;
/* rgb */ color: rgb(50, 49, 125);
/* oklch */ color: oklch(36.2% 0.125 278.7);
Tailwind
colors: {
  custom: {
    50: '#7269a3',
    500: '#32317d',
    950: '#000000',
  },
}
SCSS
$custom: #32317d;
$custom-light: #7269a3;
$custom-dark: #000000;
JSON
{
  "hex": "#32317d",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 240.789,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36173,
    "c": 0.12536,
    "h": 278.7
  },
  "luminance": 0.04355
}

Semantic roles & 50–950 ramp

primary
#32317D
secondary
#A9AA60
accent
#D354D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #32317D

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

Preview Lab → · Contrast checker → · Palette generator →

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