#32318A#32318A

#32318A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.144 H 277.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#32318A
RGBrgb(50, 49, 138)
HSLhsl(241, 48%, 37%)
HSVhsv(241, 64%, 54%)
CMYKcmyk(63.8%, 64.5%, 0%, 45.9%)
CIE-LABlab(25.89, 29.02, -49.55)
CIE-LCHlch(25.89, 57.43, 300.36°)
OKLaboklab(37.3% 0.0184 -0.1427)
OKLCHoklch(37.3% 0.144 277.3)
XYZxyz(6.9997, 4.7092, 24.5799)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32318A #898A31
analogous
#315D8A #32318A #5F318A
triadic
#32318A #8A3231 #318A32
tetradic
#32318A #8A315D #898A31 #318A5F
square
#32318A #8A315D #898A31 #318A5F
split-complementary
#32318A #8A5F31 #5D8A31
monochromatic
#111130 #22215D #32318A #4241B7 #6C6BCA

Accessibility & contrast

On white

10.81
#32318A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#32318A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32318A
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32318A#FFFFFF#000000##FFFFFF
##32318A1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #32318a;
/* rgb */ color: rgb(50, 49, 138);
/* oklch */ color: oklch(37.3% 0.144 277.3);
Tailwind
colors: {
  custom: {
    50: '#7469ad',
    500: '#32318a',
    950: '#000000',
  },
}
SCSS
$custom: #32318a;
$custom-light: #7469ad;
$custom-dark: #000000;
JSON
{
  "hex": "#32318a",
  "rgb": {
    "r": 50,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 240.674,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37303,
    "c": 0.14387,
    "h": 277.3
  },
  "luminance": 0.0471
}

Semantic roles & 50–950 ramp

primary
#32318A
secondary
#B1B265
accent
#D751D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #32318A

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

Preview Lab → · Contrast checker → · Palette generator →

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