#322A97#322A97

#322A97 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.170 H 277.6°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#322A97
RGBrgb(50, 42, 151)
HSLhsl(244, 56%, 38%)
HSVhsv(244, 72%, 59%)
CMYKcmyk(66.9%, 72.2%, 0%, 40.8%)
CIE-LABlab(25.47, 37.87, -58.28)
CIE-LCHlch(25.47, 69.51, 303.02°)
OKLaboklab(37.36% 0.0223 -0.1683)
OKLCHoklch(37.36% 0.17 277.6)
XYZxyz(7.7275, 4.5678, 29.7466)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A97 #8F972A
analogous
#2A5897 #322A97 #692A97
triadic
#322A97 #97322A #2A9732
tetradic
#322A97 #972A58 #8F972A #2A9769
square
#322A97 #972A58 #8F972A #2A9769
split-complementary
#322A97 #97692A #58972A
monochromatic
#120F37 #221D67 #322A97 #4237C7 #6F67D5

Accessibility & contrast

On white

10.97
#322A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#322A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322A97
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A97#FFFFFF#000000##FFFFFF
##322A971.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #322a97;
/* rgb */ color: rgb(50, 42, 151);
/* oklch */ color: oklch(37.4% 0.170 277.6);
Tailwind
colors: {
  custom: {
    50: '#7865b7',
    500: '#322a97',
    950: '#000000',
  },
}
SCSS
$custom: #322a97;
$custom-light: #7865b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322a97",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 244.404,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37364,
    "c": 0.16975,
    "h": 277.6
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#322A97
secondary
#B4BB62
accent
#E048D5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #322A97

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

Preview Lab → · Contrast checker → · Palette generator →

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