#32288C#32288C

#32288C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.158 H 279.4°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#32288C
RGBrgb(50, 40, 140)
HSLhsl(246, 56%, 35%)
HSVhsv(246, 71%, 55%)
CMYKcmyk(64.3%, 71.4%, 0%, 45.1%)
CIE-LABlab(23.96, 35.38, -53.95)
CIE-LCHlch(23.96, 64.52, 303.26°)
OKLaboklab(35.96% 0.0258 -0.1556)
OKLCHoklch(35.96% 0.158 279.4)
XYZxyz(6.8063, 4.0886, 25.2364)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32288C #828C28
analogous
#28508C #32288C #64288C
triadic
#32288C #8C3228 #288C32
tetradic
#32288C #8C2850 #828C28 #288C64
square
#32288C #8C2850 #828C28 #288C64
split-complementary
#32288C #8C6428 #508C28
monochromatic
#100D2D #211A5C #32288C #4336BC #695ED1

Accessibility & contrast

On white

11.55
#32288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#32288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32288C
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32288C#FFFFFF#000000##FFFFFF
##32288C1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #32288c;
/* rgb */ color: rgb(50, 40, 140);
/* oklch */ color: oklch(36.0% 0.158 279.4);
Tailwind
colors: {
  custom: {
    50: '#7663af',
    500: '#32288c',
    950: '#000000',
  },
}
SCSS
$custom: #32288c;
$custom-light: #7663af;
$custom-dark: #000000;
JSON
{
  "hex": "#32288c",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 246,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35963,
    "c": 0.15773,
    "h": 279.4
  },
  "luminance": 0.04089
}

Semantic roles & 50–950 ramp

primary
#32288C
secondary
#ADB65A
accent
#DF49D0
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #32288C

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

Preview Lab → · Contrast checker → · Palette generator →

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