#32288A#32288A

#32288A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.155 H 279.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#32288A
RGBrgb(50, 40, 138)
HSLhsl(246, 55%, 35%)
HSVhsv(246, 71%, 54%)
CMYKcmyk(63.8%, 71%, 0%, 45.9%)
CIE-LABlab(23.77, 34.71, -53.02)
CIE-LCHlch(23.77, 63.37, 303.21°)
OKLaboklab(35.77% 0.0261 -0.1529)
OKLCHoklch(35.77% 0.155 279.7)
XYZxyz(6.6602, 4.0302, 24.4668)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32288A #808A28
analogous
#284F8A #32288A #63288A
triadic
#32288A #8A3228 #288A32
tetradic
#32288A #8A284F #808A28 #288A63
square
#32288A #8A284F #808A28 #288A63
split-complementary
#32288A #8A6328 #4F8A28
monochromatic
#100C2B #211A5B #32288A #4336B9 #685DD0

Accessibility & contrast

On white

11.63
#32288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32288A
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32288A#FFFFFF#000000##FFFFFF
##32288A1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #32288a;
/* rgb */ color: rgb(50, 40, 138);
/* oklch */ color: oklch(35.8% 0.155 279.7);
Tailwind
colors: {
  custom: {
    50: '#7563ad',
    500: '#32288a',
    950: '#000000',
  },
}
SCSS
$custom: #32288a;
$custom-light: #7563ad;
$custom-dark: #000000;
JSON
{
  "hex": "#32288a",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 246.122,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35767,
    "c": 0.15509,
    "h": 279.7
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#32288A
secondary
#ACB559
accent
#DE49CF
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #32288A

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

Preview Lab → · Contrast checker → · Palette generator →

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