#322BBB#322BBB

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

Color values

HEX#322BBB
RGBrgb(50, 43, 187)
HSLhsl(243, 63%, 45%)
HSVhsv(243, 77%, 73%)
CMYKcmyk(73.3%, 77%, 0%, 26.7%)
CIE-LABlab(29.39, 49.07, -73.50)
CIE-LCHlch(29.39, 88.37, 303.73°)
OKLaboklab(41.26% 0.0145 -0.2126)
OKLCHoklch(41.26% 0.213 273.9)
XYZxyz(11.1459, 5.9926, 47.5734)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322BBB #B4BB2B
analogous
#2B6CBB #322BBB #7A2BBB
triadic
#322BBB #BB322B #2BBB32
tetradic
#322BBB #BB2B6C #B4BB2B #2BBB7A
square
#322BBB #BB2B6C #B4BB2B #2BBB7A
split-complementary
#322BBB #BB7A2B #6CBB2B
monochromatic
#171457 #252089 #322BBB #544DD6 #847FE2

Accessibility & contrast

On white

9.55
#322BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322BBB
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322BBB#FFFFFF#000000##FFFFFF
##322BBB1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#003EB8
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #322bbb;
/* rgb */ color: rgb(50, 43, 187);
/* oklch */ color: oklch(41.3% 0.213 273.9);
Tailwind
colors: {
  custom: {
    50: '#8067d1',
    500: '#322bbb',
    950: '#000000',
  },
}
SCSS
$custom: #322bbb;
$custom-light: #8067d1;
$custom-dark: #000000;
JSON
{
  "hex": "#322bbb",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 242.917,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4126,
    "c": 0.21311,
    "h": 273.9
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#322BBB
secondary
#C6CA78
accent
#E642DE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #322BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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