#32288B#32288B

#32288B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.156 H 279.5°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#32288B
RGBrgb(50, 40, 139)
HSLhsl(246, 55%, 35%)
HSVhsv(246, 71%, 55%)
CMYKcmyk(64%, 71.2%, 0%, 45.5%)
CIE-LABlab(23.87, 35.04, -53.49)
CIE-LCHlch(23.87, 63.95, 303.23°)
OKLaboklab(35.87% 0.0259 -0.1542)
OKLCHoklch(35.87% 0.156 279.5)
XYZxyz(6.7329, 4.0593, 24.8498)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32288B #818B28
analogous
#284F8B #32288B #64288B
triadic
#32288B #8B3228 #288B32
tetradic
#32288B #8B284F #818B28 #288B64
square
#32288B #8B284F #818B28 #288B64
split-complementary
#32288B #8B6428 #4F8B28
monochromatic
#100D2C #211A5B #32288B #4336BB #695DD0

Accessibility & contrast

On white

11.59
#32288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#32288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32288B
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32288B#FFFFFF#000000##FFFFFF
##32288B1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #32288b;
/* rgb */ color: rgb(50, 40, 139);
/* oklch */ color: oklch(35.9% 0.156 279.5);
Tailwind
colors: {
  custom: {
    50: '#7563ae',
    500: '#32288b',
    950: '#000000',
  },
}
SCSS
$custom: #32288b;
$custom-light: #7563ae;
$custom-dark: #000000;
JSON
{
  "hex": "#32288b",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 246.061,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35865,
    "c": 0.15641,
    "h": 279.5
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#32288B
secondary
#ACB659
accent
#DF49D0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #32288B

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

Preview Lab → · Contrast checker → · Palette generator →

#32288B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva