#32279D#32279D

#32279D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.181 H 277.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#32279D
RGBrgb(50, 39, 157)
HSLhsl(246, 60%, 38%)
HSVhsv(246, 75%, 62%)
CMYKcmyk(68.2%, 75.2%, 0%, 38.4%)
CIE-LABlab(25.45, 41.59, -61.98)
CIE-LCHlch(25.45, 74.64, 303.86°)
OKLaboklab(37.54% 0.0231 -0.179)
OKLCHoklch(37.54% 0.181 277.3)
XYZxyz(8.1247, 4.5628, 32.3443)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32279D #929D27
analogous
#27579D #32279D #6D279D
triadic
#32279D #9D3227 #279D32
tetradic
#32279D #9D2757 #929D27 #279D6D
square
#32279D #9D2757 #929D27 #279D6D
split-complementary
#32279D #9D6D27 #579D27
monochromatic
#130F3B #221B6C #32279D #4335CD #7066D9

Accessibility & contrast

On white

10.98
#32279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#32279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32279D
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32279D#FFFFFF#000000##FFFFFF
##32279D1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #32279d;
/* rgb */ color: rgb(50, 39, 157);
/* oklch */ color: oklch(37.5% 0.181 277.3);
Tailwind
colors: {
  custom: {
    50: '#7963bb',
    500: '#32279d',
    950: '#000000',
  },
}
SCSS
$custom: #32279d;
$custom-light: #7963bb;
$custom-dark: #000000;
JSON
{
  "hex": "#32279d",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 245.593,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37536,
    "c": 0.18053,
    "h": 277.3
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#32279D
secondary
#B6BF61
accent
#E344D5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #32279D

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

Preview Lab → · Contrast checker → · Palette generator →

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