#32287E#32287E

#32287E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.139 H 281.6°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#32287E
RGBrgb(50, 40, 126)
HSLhsl(247, 52%, 33%)
HSVhsv(247, 68%, 49%)
CMYKcmyk(60.3%, 68.3%, 0%, 50.6%)
CIE-LABlab(22.66, 30.65, -47.30)
CIE-LCHlch(22.66, 56.36, 302.94°)
OKLaboklab(34.62% 0.0279 -0.1361)
OKLCHoklch(34.62% 0.139 281.6)
XYZxyz(5.8389, 3.7017, 20.1414)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32287E #747E28
analogous
#28497E #32287E #5D287E
triadic
#32287E #7E3228 #287E32
tetradic
#32287E #7E2849 #747E28 #287E5D
square
#32287E #7E2849 #747E28 #287E5D
split-complementary
#32287E #7E5D28 #497E28
monochromatic
#0D0B21 #201950 #32287E #4437AC #6457CA

Accessibility & contrast

On white

12.07
#32287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#32287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32287E
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32287E#FFFFFF#000000##FFFFFF
##32287E1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#043E4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #32287e;
/* rgb */ color: rgb(50, 40, 126);
/* oklch */ color: oklch(34.6% 0.139 281.6);
Tailwind
colors: {
  custom: {
    50: '#7363a4',
    500: '#32287e',
    950: '#000000',
  },
}
SCSS
$custom: #32287e;
$custom-light: #7363a4;
$custom-dark: #000000;
JSON
{
  "hex": "#32287e",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 246.977,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34624,
    "c": 0.13894,
    "h": 281.6
  },
  "luminance": 0.03702
}

Semantic roles & 50–950 ramp

primary
#32287E
secondary
#A4AF53
accent
#DB4DCB
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #32287E

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

Preview Lab → · Contrast checker → · Palette generator →

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