#32287B#32287B

#32287B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.135 H 282.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#32287B
RGBrgb(50, 40, 123)
HSLhsl(247, 51%, 32%)
HSVhsv(247, 67%, 48%)
CMYKcmyk(59.3%, 67.5%, 0%, 51.8%)
CIE-LABlab(22.39, 29.63, -45.84)
CIE-LCHlch(22.39, 54.58, 302.88°)
OKLaboklab(34.35% 0.0283 -0.1318)
OKLCHoklch(34.35% 0.135 282.1)
XYZxyz(5.6482, 3.6254, 19.1372)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32287B #717B28
analogous
#28487B #32287B #5C287B
triadic
#32287B #7B3228 #287B32
tetradic
#32287B #7B2848 #717B28 #287B5C
square
#32287B #7B2848 #717B28 #287B5C
split-complementary
#32287B #7B5C28 #487B28
monochromatic
#0C0A1F #1F194D #32287B #4537A9 #6356C8

Accessibility & contrast

On white

12.17
#32287B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#32287B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32287B
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32287B#FFFFFF#000000##FFFFFF
##32287B1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#0A3D4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #32287b;
/* rgb */ color: rgb(50, 40, 123);
/* oklch */ color: oklch(34.3% 0.135 282.1);
Tailwind
colors: {
  custom: {
    50: '#7263a2',
    500: '#32287b',
    950: '#000000',
  },
}
SCSS
$custom: #32287b;
$custom-light: #7263a2;
$custom-dark: #000000;
JSON
{
  "hex": "#32287b",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 247.229,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34347,
    "c": 0.13481,
    "h": 282.1
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#32287B
secondary
#A2AD52
accent
#DA4DC9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #32287B

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

Preview Lab → · Contrast checker → · Palette generator →

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