#322BA8#322BA8

#322BA8 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.190 H 275.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#322BA8
RGBrgb(50, 43, 168)
HSLhsl(243, 59%, 41%)
HSVhsv(243, 74%, 66%)
CMYKcmyk(70.2%, 74.4%, 0%, 34.1%)
CIE-LABlab(27.39, 42.93, -65.46)
CIE-LCHlch(27.39, 78.29, 303.26°)
OKLaboklab(39.25% 0.0185 -0.1892)
OKLCHoklch(39.25% 0.19 275.6)
XYZxyz(9.2448, 5.2322, 37.5609)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322BA8 #A1A82B
analogous
#2B63A8 #322BA8 #712BA8
triadic
#322BA8 #A8322B #2BA832
tetradic
#322BA8 #A82B63 #A1A82B #2BA871
square
#322BA8 #A82B63 #A1A82B #2BA871
split-complementary
#322BA8 #A8712B #63A82B
monochromatic
#151247 #231F77 #322BA8 #4A42CF #7872DB

Accessibility & contrast

On white

10.26
#322BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#322BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322BA8
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322BA8#FFFFFF#000000##FFFFFF
##322BA81.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #322ba8;
/* rgb */ color: rgb(50, 43, 168);
/* oklch */ color: oklch(39.2% 0.190 275.6);
Tailwind
colors: {
  custom: {
    50: '#7b66c3',
    500: '#322ba8',
    950: '#000000',
  },
}
SCSS
$custom: #322ba8;
$custom-light: #7b66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#322ba8",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 243.36,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39247,
    "c": 0.19014,
    "h": 275.6
  },
  "luminance": 0.05233
}

Semantic roles & 50–950 ramp

primary
#322BA8
secondary
#BEC26C
accent
#E245DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #322BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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