#322A71#322A71

#322A71 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.8% C 0.118 H 283.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#322A71
RGBrgb(50, 42, 113)
HSLhsl(247, 46%, 30%)
HSVhsv(247, 63%, 44%)
CMYKcmyk(55.8%, 62.8%, 0%, 55.7%)
CIE-LABlab(22.04, 24.91, -40.02)
CIE-LCHlch(22.04, 47.14, 301.90°)
OKLaboklab(33.82% 0.0269 -0.1147)
OKLCHoklch(33.82% 0.118 283.2)
XYZxyz(5.1231, 3.5260, 16.0302)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A71 #69712A
analogous
#2A4571 #322A71 #552A71
triadic
#322A71 #71322A #2A7132
tetradic
#322A71 #712A45 #69712A #2A7155
square
#322A71 #712A45 #69712A #2A7155
split-complementary
#322A71 #71552A #45712A
monochromatic
#0B0918 #1E1944 #322A71 #463B9E #6155C0

Accessibility & contrast

On white

12.32
#322A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#322A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322A71
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A71#FFFFFF#000000##FFFFFF
##322A711.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#173B49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #322a71;
/* rgb */ color: rgb(50, 42, 113);
/* oklch */ color: oklch(33.8% 0.118 283.2);
Tailwind
colors: {
  custom: {
    50: '#70649a',
    500: '#322a71',
    950: '#000000',
  },
}
SCSS
$custom: #322a71;
$custom-light: #70649a;
$custom-dark: #000000;
JSON
{
  "hex": "#322a71",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 246.761,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33824,
    "c": 0.11784,
    "h": 283.2
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#322A71
secondary
#9AA354
accent
#D552C7
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322A71

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

Preview Lab → · Contrast checker → · Palette generator →

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