#32278C#32278C

#32278C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.159 H 279.6°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#32278C
RGBrgb(50, 39, 140)
HSLhsl(247, 56%, 35%)
HSVhsv(247, 72%, 55%)
CMYKcmyk(64.3%, 72.1%, 0%, 45.1%)
CIE-LABlab(23.74, 35.98, -54.31)
CIE-LCHlch(23.74, 65.15, 303.52°)
OKLaboklab(35.81% 0.0265 -0.1567)
OKLCHoklch(35.81% 0.159 279.6)
XYZxyz(6.7730, 4.0221, 25.2253)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32278C #818C27
analogous
#274E8C #32278C #65278C
triadic
#32278C #8C3227 #278C32
tetradic
#32278C #8C274E #818C27 #278C65
square
#32278C #8C274E #818C27 #278C65
split-complementary
#32278C #8C6527 #4E8C27
monochromatic
#100C2C #211A5C #32278C #4334BC #695CD2

Accessibility & contrast

On white

11.64
#32278C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32278C
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32278C#FFFFFF#000000##FFFFFF
##32278C1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #32278c;
/* rgb */ color: rgb(50, 39, 140);
/* oklch */ color: oklch(35.8% 0.159 279.6);
Tailwind
colors: {
  custom: {
    50: '#7662af',
    500: '#32278c',
    950: '#000000',
  },
}
SCSS
$custom: #32278c;
$custom-light: #7662af;
$custom-dark: #000000;
JSON
{
  "hex": "#32278c",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 246.535,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35807,
    "c": 0.15888,
    "h": 279.6
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

primary
#32278C
secondary
#ACB758
accent
#E048CF
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #32278C

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

Preview Lab → · Contrast checker → · Palette generator →

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