#32277E#32277E

#32277E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.140 H 281.9°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#32277E
RGBrgb(50, 39, 126)
HSLhsl(248, 53%, 32%)
HSVhsv(248, 69%, 49%)
CMYKcmyk(60.3%, 69%, 0%, 50.6%)
CIE-LABlab(22.43, 31.28, -47.68)
CIE-LCHlch(22.43, 57.03, 303.27°)
OKLaboklab(34.46% 0.0288 -0.1372)
OKLCHoklch(34.46% 0.14 281.9)
XYZxyz(5.8056, 3.6351, 20.1303)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32277E #737E27
analogous
#27487E #32277E #5D277E
triadic
#32277E #7E3227 #277E32
tetradic
#32277E #7E2748 #737E27 #277E5D
square
#32277E #7E2748 #737E27 #277E5D
split-complementary
#32277E #7E5D27 #487E27
monochromatic
#0D0A21 #1F194F #32277E #4535AD #6455CA

Accessibility & contrast

On white

12.16
#32277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#32277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32277E
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32277E#FFFFFF#000000##FFFFFF
##32277E1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#043D4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #32277e;
/* rgb */ color: rgb(50, 39, 126);
/* oklch */ color: oklch(34.5% 0.140 281.9);
Tailwind
colors: {
  custom: {
    50: '#7362a4',
    500: '#32277e',
    950: '#000000',
  },
}
SCSS
$custom: #32277e;
$custom-light: #7362a4;
$custom-dark: #000000;
JSON
{
  "hex": "#32277e",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 247.586,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34456,
    "c": 0.14023,
    "h": 281.9
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#32277E
secondary
#A3AF52
accent
#DC4CCA
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #32277E

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

Preview Lab → · Contrast checker → · Palette generator →

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