#322BA6#322BA6

#322BA6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.188 H 275.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#322BA6
RGBrgb(50, 43, 166)
HSLhsl(243, 59%, 41%)
HSVhsv(243, 74%, 65%)
CMYKcmyk(69.9%, 74.1%, 0%, 34.9%)
CIE-LABlab(27.18, 42.28, -64.59)
CIE-LCHlch(27.18, 77.20, 303.20°)
OKLaboklab(39.04% 0.0189 -0.1867)
OKLCHoklch(39.04% 0.188 275.8)
XYZxyz(9.0599, 5.1582, 36.5872)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322BA6 #9FA62B
analogous
#2B61A6 #322BA6 #6F2BA6
triadic
#322BA6 #A6322B #2BA632
tetradic
#322BA6 #A62B61 #9FA62B #2BA66F
square
#322BA6 #A62B61 #9FA62B #2BA66F
split-complementary
#322BA6 #A66F2B #61A62B
monochromatic
#151245 #231E75 #322BA6 #4941CE #7771DA

Accessibility & contrast

On white

10.34
#322BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#322BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322BA6
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322BA6#FFFFFF#000000##FFFFFF
##322BA61.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #322ba6;
/* rgb */ color: rgb(50, 43, 166);
/* oklch */ color: oklch(39.0% 0.188 275.8);
Tailwind
colors: {
  custom: {
    50: '#7b66c2',
    500: '#322ba6',
    950: '#000000',
  },
}
SCSS
$custom: #322ba6;
$custom-light: #7b66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#322ba6",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 243.415,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.3904,
    "c": 0.18766,
    "h": 275.8
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#322BA6
secondary
#BDC16B
accent
#E246D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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