#322BA2#322BA2

#322BA2 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.183 H 276.2°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#322BA2
RGBrgb(50, 43, 162)
HSLhsl(244, 58%, 40%)
HSVhsv(244, 73%, 64%)
CMYKcmyk(69.1%, 73.5%, 0%, 36.5%)
CIE-LABlab(26.77, 40.95, -62.84)
CIE-LCHlch(26.77, 75.01, 303.09°)
OKLaboklab(38.63% 0.0197 -0.1816)
OKLCHoklch(38.63% 0.183 276.2)
XYZxyz(8.6987, 5.0137, 34.6847)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322BA2 #9BA22B
analogous
#2B60A2 #322BA2 #6D2BA2
triadic
#322BA2 #A2322B #2BA232
tetradic
#322BA2 #A22B60 #9BA22B #2BA26D
square
#322BA2 #A22B60 #9BA22B #2BA26D
split-complementary
#322BA2 #A26D2B #60A22B
monochromatic
#141141 #231E72 #322BA2 #473ECC #756FD9

Accessibility & contrast

On white

10.49
#322BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#322BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322BA2
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322BA2#FFFFFF#000000##FFFFFF
##322BA21.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A6
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #322ba2;
/* rgb */ color: rgb(50, 43, 162);
/* oklch */ color: oklch(38.6% 0.183 276.2);
Tailwind
colors: {
  custom: {
    50: '#7a66bf',
    500: '#322ba2',
    950: '#000000',
  },
}
SCSS
$custom: #322ba2;
$custom-light: #7a66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#322ba2",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 243.529,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38628,
    "c": 0.18266,
    "h": 276.2
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#322BA2
secondary
#BBC069
accent
#E147D8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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