#32287F#32287F

#32287F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.140 H 281.4°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#32287F
RGBrgb(50, 40, 127)
HSLhsl(247, 52%, 33%)
HSVhsv(247, 69%, 50%)
CMYKcmyk(60.6%, 68.5%, 0%, 50.2%)
CIE-LABlab(22.75, 30.99, -47.79)
CIE-LCHlch(22.75, 56.96, 302.96°)
OKLaboklab(34.72% 0.0278 -0.1375)
OKLCHoklch(34.72% 0.14 281.4)
XYZxyz(5.9038, 3.7276, 20.4830)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32287F #757F28
analogous
#28497F #32287F #5E287F
triadic
#32287F #7F3228 #287F32
tetradic
#32287F #7F2849 #757F28 #287F5E
square
#32287F #7F2849 #757F28 #287F5E
split-complementary
#32287F #7F5E28 #497F28
monochromatic
#0D0B22 #201950 #32287F #4437AE #6457CA

Accessibility & contrast

On white

12.03
#32287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#32287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32287F
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32287F#FFFFFF#000000##FFFFFF
##32287F1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#023E50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #32287f;
/* rgb */ color: rgb(50, 40, 127);
/* oklch */ color: oklch(34.7% 0.140 281.4);
Tailwind
colors: {
  custom: {
    50: '#7363a5',
    500: '#32287f',
    950: '#000000',
  },
}
SCSS
$custom: #32287f;
$custom-light: #7363a5;
$custom-dark: #000000;
JSON
{
  "hex": "#32287f",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 246.897,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34717,
    "c": 0.14031,
    "h": 281.4
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#32287F
secondary
#A5AF54
accent
#DC4CCB
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #32287F

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

Preview Lab → · Contrast checker → · Palette generator →

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