#32278D#32278D

#32278D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.160 H 279.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#32278D
RGBrgb(50, 39, 141)
HSLhsl(246, 57%, 35%)
HSVhsv(246, 72%, 55%)
CMYKcmyk(64.5%, 72.3%, 0%, 44.7%)
CIE-LABlab(23.84, 36.31, -54.77)
CIE-LCHlch(23.84, 65.72, 303.54°)
OKLaboklab(35.91% 0.0264 -0.158)
OKLCHoklch(35.91% 0.16 279.5)
XYZxyz(6.8471, 4.0517, 25.6154)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32278D #828D27
analogous
#274F8D #32278D #65278D
triadic
#32278D #8D3227 #278D32
tetradic
#32278D #8D274F #828D27 #278D65
square
#32278D #8D274F #828D27 #278D65
split-complementary
#32278D #8D6527 #4F8D27
monochromatic
#100C2D #211A5D #32278D #4334BD #695CD2

Accessibility & contrast

On white

11.60
#32278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#32278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32278D
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32278D#FFFFFF#000000##FFFFFF
##32278D1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #32278d;
/* rgb */ color: rgb(50, 39, 141);
/* oklch */ color: oklch(35.9% 0.160 279.5);
Tailwind
colors: {
  custom: {
    50: '#7662af',
    500: '#32278d',
    950: '#000000',
  },
}
SCSS
$custom: #32278d;
$custom-light: #7662af;
$custom-dark: #000000;
JSON
{
  "hex": "#32278d",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 246.471,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35906,
    "c": 0.16018,
    "h": 279.5
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#32278D
secondary
#ADB759
accent
#E048D0
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #32278D

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

Preview Lab → · Contrast checker → · Palette generator →

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