#32277C#32277C

#32277C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.137 H 282.2°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#32277C
RGBrgb(50, 39, 124)
HSLhsl(248, 52%, 32%)
HSVhsv(248, 69%, 49%)
CMYKcmyk(59.7%, 68.5%, 0%, 51.4%)
CIE-LABlab(22.25, 30.61, -46.71)
CIE-LCHlch(22.25, 55.85, 303.23°)
OKLaboklab(34.27% 0.0291 -0.1344)
OKLCHoklch(34.27% 0.137 282.2)
XYZxyz(5.6779, 3.5840, 19.4575)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32277C #717C27
analogous
#27477C #32277C #5D277C
triadic
#32277C #7C3227 #277C32
tetradic
#32277C #7C2747 #717C27 #277C5D
square
#32277C #7C2747 #717C27 #277C5D
split-complementary
#32277C #7C5D27 #477C27
monochromatic
#0C0A1F #1F184D #32277C #4536AB #6354C9

Accessibility & contrast

On white

12.23
#32277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32277C
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32277C#FFFFFF#000000##FFFFFF
##32277C1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#083D4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #32277c;
/* rgb */ color: rgb(50, 39, 124);
/* oklch */ color: oklch(34.3% 0.137 282.2);
Tailwind
colors: {
  custom: {
    50: '#7362a3',
    500: '#32277c',
    950: '#000000',
  },
}
SCSS
$custom: #32277c;
$custom-light: #7362a3;
$custom-dark: #000000;
JSON
{
  "hex": "#32277c",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 247.765,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34269,
    "c": 0.13749,
    "h": 282.2
  },
  "luminance": 0.03584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #32277C

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

Preview Lab → · Contrast checker → · Palette generator →

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