#32278B#32278B

#32278B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.158 H 279.8°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#32278B
RGBrgb(50, 39, 139)
HSLhsl(247, 56%, 35%)
HSVhsv(247, 72%, 55%)
CMYKcmyk(64%, 71.9%, 0%, 45.5%)
CIE-LABlab(23.65, 35.65, -53.85)
CIE-LCHlch(23.65, 64.58, 303.51°)
OKLaboklab(35.71% 0.0267 -0.1553)
OKLCHoklch(35.71% 0.158 279.8)
XYZxyz(6.6996, 3.9927, 24.8387)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32278B #808B27
analogous
#274E8B #32278B #64278B
triadic
#32278B #8B3227 #278B32
tetradic
#32278B #8B274E #808B27 #278B64
square
#32278B #8B274E #808B27 #278B64
split-complementary
#32278B #8B6427 #4E8B27
monochromatic
#100C2B #211A5B #32278B #4334BB #685BD1

Accessibility & contrast

On white

11.68
#32278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#32278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32278B
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32278B#FFFFFF#000000##FFFFFF
##32278B1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #32278b;
/* rgb */ color: rgb(50, 39, 139);
/* oklch */ color: oklch(35.7% 0.158 279.8);
Tailwind
colors: {
  custom: {
    50: '#7662ae',
    500: '#32278b',
    950: '#000000',
  },
}
SCSS
$custom: #32278b;
$custom-light: #7662ae;
$custom-dark: #000000;
JSON
{
  "hex": "#32278b",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 246.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35708,
    "c": 0.15757,
    "h": 279.8
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#32278B
secondary
#ACB658
accent
#DF48CF
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #32278B

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

Preview Lab → · Contrast checker → · Palette generator →

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