#32318D#32318D

#32318D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.148 H 277.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#32318D
RGBrgb(50, 49, 141)
HSLhsl(241, 48%, 37%)
HSVhsv(241, 65%, 55%)
CMYKcmyk(64.5%, 65.2%, 0%, 44.7%)
CIE-LABlab(26.15, 30.08, -50.99)
CIE-LCHlch(26.15, 59.20, 300.53°)
OKLaboklab(37.57% 0.0181 -0.1469)
OKLCHoklch(37.57% 0.148 277)
XYZxyz(7.2199, 4.7972, 25.7396)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32318D #8C8D31
analogous
#315E8D #32318D #60318D
triadic
#32318D #8D3231 #318D32
tetradic
#32318D #8D315E #8C8D31 #318D60
square
#32318D #8D315E #8C8D31 #318D60
split-complementary
#32318D #8D6031 #5E8D31
monochromatic
#121132 #222160 #32318D #4241BA #6D6CCC

Accessibility & contrast

On white

10.72
#32318D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#32318D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32318D
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32318D#FFFFFF#000000##FFFFFF
##32318D1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #32318d;
/* rgb */ color: rgb(50, 49, 141);
/* oklch */ color: oklch(37.6% 0.148 277.0);
Tailwind
colors: {
  custom: {
    50: '#7569af',
    500: '#32318d',
    950: '#000000',
  },
}
SCSS
$custom: #32318d;
$custom-light: #7569af;
$custom-dark: #000000;
JSON
{
  "hex": "#32318d",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 240.652,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37574,
    "c": 0.14803,
    "h": 277
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#32318D
secondary
#B3B466
accent
#D850D7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #32318D

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

Preview Lab → · Contrast checker → · Palette generator →

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