#32278E#32278E

#32278E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.161 H 279.3°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#32278E
RGBrgb(50, 39, 142)
HSLhsl(246, 57%, 35%)
HSVhsv(246, 73%, 56%)
CMYKcmyk(64.8%, 72.5%, 0%, 44.3%)
CIE-LABlab(23.94, 36.65, -55.23)
CIE-LCHlch(23.94, 66.29, 303.56°)
OKLaboklab(36% 0.0262 -0.1593)
OKLCHoklch(36% 0.161 279.3)
XYZxyz(6.9218, 4.0816, 26.0090)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32278E #838E27
analogous
#274F8E #32278E #65278E
triadic
#32278E #8E3227 #278E32
tetradic
#32278E #8E274F #838E27 #278E65
square
#32278E #8E274F #838E27 #278E65
split-complementary
#32278E #8E6527 #4F8E27
monochromatic
#100D2E #211A5E #32278E #4334BE #695DD2

Accessibility & contrast

On white

11.56
#32278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32278E
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32278E#FFFFFF#000000##FFFFFF
##32278E1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #32278e;
/* rgb */ color: rgb(50, 39, 142);
/* oklch */ color: oklch(36.0% 0.161 279.3);
Tailwind
colors: {
  custom: {
    50: '#7663b0',
    500: '#32278e',
    950: '#000000',
  },
}
SCSS
$custom: #32278e;
$custom-light: #7663b0;
$custom-dark: #000000;
JSON
{
  "hex": "#32278e",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 246.408,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36005,
    "c": 0.16148,
    "h": 279.3
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#32278E
secondary
#AEB859
accent
#E048D0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #32278E

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

Preview Lab → · Contrast checker → · Palette generator →

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