#32278F#32278F

#32278F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.163 H 279.2°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#32278F
RGBrgb(50, 39, 143)
HSLhsl(246, 57%, 36%)
HSVhsv(246, 73%, 56%)
CMYKcmyk(65%, 72.7%, 0%, 43.9%)
CIE-LABlab(24.04, 36.98, -55.69)
CIE-LCHlch(24.04, 66.85, 303.58°)
OKLaboklab(36.1% 0.026 -0.1607)
OKLCHoklch(36.1% 0.163 279.2)
XYZxyz(6.9973, 4.1118, 26.4062)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32278F #848F27
analogous
#27508F #32278F #66278F
triadic
#32278F #8F3227 #278F32
tetradic
#32278F #8F2750 #848F27 #278F66
square
#32278F #8F2750 #848F27 #278F66
split-complementary
#32278F #8F6627 #508F27
monochromatic
#100D2F #211A5F #32278F #4334BF #6A5DD3

Accessibility & contrast

On white

11.52
#32278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#32278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32278F
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32278F#FFFFFF#000000##FFFFFF
##32278F1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #32278f;
/* rgb */ color: rgb(50, 39, 143);
/* oklch */ color: oklch(36.1% 0.163 279.2);
Tailwind
colors: {
  custom: {
    50: '#7663b1',
    500: '#32278f',
    950: '#000000',
  },
}
SCSS
$custom: #32278f;
$custom-light: #7663b1;
$custom-dark: #000000;
JSON
{
  "hex": "#32278f",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 246.346,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36105,
    "c": 0.16278,
    "h": 279.2
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#32278F
secondary
#AEB85A
accent
#E047D0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #32278F

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

Preview Lab → · Contrast checker → · Palette generator →

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