#322771#322771

#322771 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.122 H 284.4°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#322771
RGBrgb(50, 39, 113)
HSLhsl(249, 49%, 30%)
HSVhsv(249, 65%, 44%)
CMYKcmyk(55.8%, 65.5%, 0%, 55.7%)
CIE-LABlab(21.29, 26.89, -41.24)
CIE-LCHlch(21.29, 49.23, 303.10°)
OKLaboklab(33.27% 0.0303 -0.1183)
OKLCHoklch(33.27% 0.122 284.4)
XYZxyz(5.0206, 3.3211, 15.9961)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322771 #667127
analogous
#274171 #322771 #572771
triadic
#322771 #713227 #277132
tetradic
#322771 #712741 #667127 #277157
square
#322771 #712741 #667127 #277157
split-complementary
#322771 #715727 #417127
monochromatic
#0A0817 #1E1744 #322771 #46379E #6150C3

Accessibility & contrast

On white

12.62
#322771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#322771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322771
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322771#FFFFFF#000000##FFFFFF
##3227711.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#183948
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #322771;
/* rgb */ color: rgb(50, 39, 113);
/* oklch */ color: oklch(33.3% 0.122 284.4);
Tailwind
colors: {
  custom: {
    50: '#70629a',
    500: '#322771',
    950: '#000000',
  },
}
SCSS
$custom: #322771;
$custom-light: #70629a;
$custom-dark: #000000;
JSON
{
  "hex": "#322771",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 248.919,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33273,
    "c": 0.12214,
    "h": 284.4
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#322771
secondary
#97A350
accent
#D850C4
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322771

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

Preview Lab → · Contrast checker → · Palette generator →

#322771 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva