#32277D#32277D

#32277D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.139 H 282.0°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#32277D
RGBrgb(50, 39, 125)
HSLhsl(248, 52%, 32%)
HSVhsv(248, 69%, 49%)
CMYKcmyk(60%, 68.8%, 0%, 51%)
CIE-LABlab(22.34, 30.94, -47.20)
CIE-LCHlch(22.34, 56.44, 303.25°)
OKLaboklab(34.36% 0.029 -0.1358)
OKLCHoklch(34.36% 0.139 282)
XYZxyz(5.7414, 3.6094, 19.7922)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32277D #727D27
analogous
#27477D #32277D #5D277D
triadic
#32277D #7D3227 #277D32
tetradic
#32277D #7D2747 #727D27 #277D5D
square
#32277D #7D2747 #727D27 #277D5D
split-complementary
#32277D #7D5D27 #477D27
monochromatic
#0D0A20 #1F184E #32277D #4536AC #6455CA

Accessibility & contrast

On white

12.20
#32277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#32277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32277D
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32277D#FFFFFF#000000##FFFFFF
##32277D1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#063D4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #32277d;
/* rgb */ color: rgb(50, 39, 125);
/* oklch */ color: oklch(34.4% 0.139 282.0);
Tailwind
colors: {
  custom: {
    50: '#7362a3',
    500: '#32277d',
    950: '#000000',
  },
}
SCSS
$custom: #32277d;
$custom-light: #7362a3;
$custom-dark: #000000;
JSON
{
  "hex": "#32277d",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 247.674,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34362,
    "c": 0.13887,
    "h": 282
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#32277D
secondary
#A3AF51
accent
#DC4CC9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #32277D

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

Preview Lab → · Contrast checker → · Palette generator →

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