#32318E#32318E

#32318E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.149 H 276.9°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#32318E
RGBrgb(50, 49, 142)
HSLhsl(241, 49%, 37%)
HSVhsv(241, 65%, 56%)
CMYKcmyk(64.8%, 65.5%, 0%, 44.3%)
CIE-LABlab(26.24, 30.43, -51.47)
CIE-LCHlch(26.24, 59.79, 300.59°)
OKLaboklab(37.67% 0.0181 -0.1483)
OKLCHoklch(37.67% 0.149 276.9)
XYZxyz(7.2946, 4.8271, 26.1333)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32318E #8D8E31
analogous
#315F8E #32318E #60318E
triadic
#32318E #8E3231 #318E32
tetradic
#32318E #8E315F #8D8E31 #318E60
square
#32318E #8E315F #8D8E31 #318E60
split-complementary
#32318E #8E6031 #5F8E31
monochromatic
#121233 #222161 #32318E #4241BB #6E6DCD

Accessibility & contrast

On white

10.68
#32318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#32318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32318E
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32318E#FFFFFF#000000##FFFFFF
##32318E1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #32318e;
/* rgb */ color: rgb(50, 49, 142);
/* oklch */ color: oklch(37.7% 0.149 276.9);
Tailwind
colors: {
  custom: {
    50: '#7569b0',
    500: '#32318e',
    950: '#000000',
  },
}
SCSS
$custom: #32318e;
$custom-light: #7569b0;
$custom-dark: #000000;
JSON
{
  "hex": "#32318e",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 240.645,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37665,
    "c": 0.14941,
    "h": 276.9
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#32318E
secondary
#B3B467
accent
#D850D7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #32318E

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

Preview Lab → · Contrast checker → · Palette generator →

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