#322DB8#322DB8

#322DB8 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.208 H 273.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#322DB8
RGBrgb(50, 45, 184)
HSLhsl(242, 61%, 45%)
HSVhsv(242, 76%, 72%)
CMYKcmyk(72.8%, 75.5%, 0%, 27.8%)
CIE-LABlab(29.45, 47.04, -71.63)
CIE-LCHlch(29.45, 85.69, 303.29°)
OKLaboklab(41.2% 0.0142 -0.2072)
OKLCHoklch(41.2% 0.208 273.9)
XYZxyz(10.9026, 6.0145, 45.9244)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322DB8 #B3B82D
analogous
#2D6EB8 #322DB8 #772DB8
triadic
#322DB8 #B8322D #2DB832
tetradic
#322DB8 #B82D6E #B3B82D #2DB877
square
#322DB8 #B82D6E #B3B82D #2DB877
split-complementary
#322DB8 #B8772D #6EB82D
monochromatic
#171556 #252187 #322DB8 #534ED4 #8380E0

Accessibility & contrast

On white

9.53
#322DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#322DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322DB8
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322DB8#FFFFFF#000000##FFFFFF
##322DB81.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #322db8;
/* rgb */ color: rgb(50, 45, 184);
/* oklch */ color: oklch(41.2% 0.208 273.9);
Tailwind
colors: {
  custom: {
    50: '#7f68cf',
    500: '#322db8',
    950: '#000000',
  },
}
SCSS
$custom: #322db8;
$custom-light: #7f68cf;
$custom-dark: #000000;
JSON
{
  "hex": "#322db8",
  "rgb": {
    "r": 50,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 242.158,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41204,
    "c": 0.20769,
    "h": 273.9
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#322DB8
secondary
#C6C978
accent
#E444DE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #322DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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