#32317A#32317A

#32317A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.121 H 279.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#32317A
RGBrgb(50, 49, 122)
HSLhsl(241, 43%, 34%)
HSVhsv(241, 60%, 48%)
CMYKcmyk(59%, 59.8%, 0%, 52.2%)
CIE-LABlab(24.57, 23.37, -41.65)
CIE-LCHlch(24.57, 47.76, 299.29°)
OKLaboklab(35.92% 0.0189 -0.1195)
OKLCHoklch(35.92% 0.121 279)
XYZxyz(5.9254, 4.2795, 18.9224)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32317A #797A31
analogous
#31547A #32317A #56317A
triadic
#32317A #7A3231 #317A32
tetradic
#32317A #7A3154 #797A31 #317A56
square
#32317A #7A3154 #797A31 #317A56
split-complementary
#32317A #7A5631 #547A31
monochromatic
#0E0E23 #201F4E #32317A #4443A6 #6664C1

Accessibility & contrast

On white

11.31
#32317A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#32317A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32317A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32317A#FFFFFF#000000##FFFFFF
##32317A1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#0A4250
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #32317a;
/* rgb */ color: rgb(50, 49, 122);
/* oklch */ color: oklch(35.9% 0.121 279.0);
Tailwind
colors: {
  custom: {
    50: '#7169a1',
    500: '#32317a',
    950: '#000000',
  },
}
SCSS
$custom: #32317a;
$custom-light: #7169a1;
$custom-dark: #000000;
JSON
{
  "hex": "#32317a",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 240.822,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35922,
    "c": 0.12096,
    "h": 279
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#32317A
secondary
#A7A85E
accent
#D255D1
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #32317A

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

Preview Lab → · Contrast checker → · Palette generator →

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