#32319F#32319F

#32319F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.172 H 275.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#32319F
RGBrgb(50, 49, 159)
HSLhsl(241, 53%, 41%)
HSVhsv(241, 69%, 62%)
CMYKcmyk(68.6%, 69.2%, 0%, 37.6%)
CIE-LABlab(27.78, 36.35, -59.36)
CIE-LCHlch(27.78, 69.61, 301.48°)
OKLaboklab(39.26% 0.0162 -0.1714)
OKLCHoklch(39.26% 0.172 275.4)
XYZxyz(8.6697, 5.3772, 33.3752)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32319F #9E9F31
analogous
#31679F #32319F #69319F
triadic
#32319F #9F3231 #319F32
tetradic
#32319F #9F3167 #9E9F31 #319F69
square
#32319F #9F3167 #9E9F31 #319F69
split-complementary
#32319F #9F6931 #679F31
monochromatic
#151441 #232370 #32319F #4847C6 #7776D5

Accessibility & contrast

On white

10.12
#32319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#32319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32319F
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32319F#FFFFFF#000000##FFFFFF
##32319F1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #32319f;
/* rgb */ color: rgb(50, 49, 159);
/* oklch */ color: oklch(39.3% 0.172 275.4);
Tailwind
colors: {
  custom: {
    50: '#796abc',
    500: '#32319f',
    950: '#000000',
  },
}
SCSS
$custom: #32319f;
$custom-light: #796abc;
$custom-dark: #000000;
JSON
{
  "hex": "#32319f",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 240.545,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39263,
    "c": 0.1722,
    "h": 275.4
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#32319F
secondary
#BCBD6F
accent
#DC4CDB
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #32319F

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

Preview Lab → · Contrast checker → · Palette generator →

#32319F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva