#322BA4#322BA4

#322BA4 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.185 H 276.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#322BA4
RGBrgb(50, 43, 164)
HSLhsl(243, 58%, 41%)
HSVhsv(243, 74%, 64%)
CMYKcmyk(69.5%, 73.8%, 0%, 35.7%)
CIE-LABlab(26.98, 41.62, -63.72)
CIE-LCHlch(26.98, 76.11, 303.15°)
OKLaboklab(38.83% 0.0193 -0.1842)
OKLCHoklch(38.83% 0.185 276)
XYZxyz(8.8779, 5.0854, 35.6285)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322BA4 #9DA42B
analogous
#2B60A4 #322BA4 #6E2BA4
triadic
#322BA4 #A4322B #2BA432
tetradic
#322BA4 #A42B60 #9DA42B #2BA46E
square
#322BA4 #A42B60 #9DA42B #2BA46E
split-complementary
#322BA4 #A46E2B #60A42B
monochromatic
#141243 #231E74 #322BA4 #483FCD #7670D9

Accessibility & contrast

On white

10.41
#322BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#322BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322BA4
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322BA4#FFFFFF#000000##FFFFFF
##322BA41.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #322ba4;
/* rgb */ color: rgb(50, 43, 164);
/* oklch */ color: oklch(38.8% 0.185 276.0);
Tailwind
colors: {
  custom: {
    50: '#7b66c0',
    500: '#322ba4',
    950: '#000000',
  },
}
SCSS
$custom: #322ba4;
$custom-light: #7b66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#322ba4",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 243.471,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38833,
    "c": 0.18516,
    "h": 276
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #322BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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