#322AA2#322AA2

#322AA2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.184 H 276.3°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#322AA2
RGBrgb(50, 42, 162)
HSLhsl(244, 59%, 40%)
HSVhsv(244, 74%, 64%)
CMYKcmyk(69.1%, 74.1%, 0%, 36.5%)
CIE-LABlab(26.57, 41.53, -63.18)
CIE-LCHlch(26.57, 75.61, 303.32°)
OKLaboklab(38.48% 0.0203 -0.1826)
OKLCHoklch(38.48% 0.184 276.3)
XYZxyz(8.6628, 4.9419, 34.6728)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322AA2 #9AA22A
analogous
#2A5EA2 #322AA2 #6E2AA2
triadic
#322AA2 #A2322A #2AA232
tetradic
#322AA2 #A22A5E #9AA22A #2AA26E
square
#322AA2 #A22A5E #9AA22A #2AA26E
split-complementary
#322AA2 #A26E2A #5EA22A
monochromatic
#141141 #231D71 #322AA2 #463DCD #746DD9

Accessibility & contrast

On white

10.56
#322AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#322AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322AA2
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322AA2#FFFFFF#000000##FFFFFF
##322AA21.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322aa2;
/* rgb */ color: rgb(50, 42, 162);
/* oklch */ color: oklch(38.5% 0.184 276.3);
Tailwind
colors: {
  custom: {
    50: '#7a65bf',
    500: '#322aa2',
    950: '#000000',
  },
}
SCSS
$custom: #322aa2;
$custom-light: #7a65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#322aa2",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 244,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.38482,
    "c": 0.1837,
    "h": 276.3
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#322AA2
secondary
#BAC068
accent
#E246D8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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