#322F96#322F96

#322F96 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.163 H 276.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#322F96
RGBrgb(50, 47, 150)
HSLhsl(242, 52%, 39%)
HSVhsv(242, 69%, 59%)
CMYKcmyk(66.7%, 68.7%, 0%, 41.2%)
CIE-LABlab(26.48, 34.49, -56.00)
CIE-LCHlch(26.48, 65.76, 301.63°)
OKLaboklab(38.07% 0.0188 -0.1616)
OKLCHoklch(38.07% 0.163 276.6)
XYZxyz(7.8351, 4.9125, 29.3836)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F96 #93962F
analogous
#2F5F96 #322F96 #652F96
triadic
#322F96 #96322F #2F9632
tetradic
#322F96 #962F5F #93962F #2F9665
square
#322F96 #962F5F #93962F #2F9665
split-complementary
#322F96 #96652F #5F962F
monochromatic
#131239 #222067 #322F96 #433FC3 #716ED2

Accessibility & contrast

On white

10.59
#322F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#322F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F96
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F96#FFFFFF#000000##FFFFFF
##322F961.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #322f96;
/* rgb */ color: rgb(50, 47, 150);
/* oklch */ color: oklch(38.1% 0.163 276.6);
Tailwind
colors: {
  custom: {
    50: '#7768b6',
    500: '#322f96',
    950: '#000000',
  },
}
SCSS
$custom: #322f96;
$custom-light: #7768b6;
$custom-dark: #000000;
JSON
{
  "hex": "#322f96",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 241.748,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38067,
    "c": 0.16268,
    "h": 276.6
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#322F96
secondary
#B7B968
accent
#DC4CD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #322F96

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

Preview Lab → · Contrast checker → · Palette generator →

#322F96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva