#322A76#322A76

#322A76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.125 H 282.3°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#322A76
RGBrgb(50, 42, 118)
HSLhsl(246, 48%, 31%)
HSVhsv(246, 64%, 46%)
CMYKcmyk(57.6%, 64.4%, 0%, 53.7%)
CIE-LABlab(22.45, 26.63, -42.56)
CIE-LCHlch(22.45, 50.20, 302.04°)
OKLaboklab(34.26% 0.0267 -0.1222)
OKLCHoklch(34.26% 0.125 282.3)
XYZxyz(5.4124, 3.6417, 17.5537)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A76 #6E762A
analogous
#2A4876 #322A76 #582A76
triadic
#322A76 #76322A #2A7632
tetradic
#322A76 #762A48 #6E762A #2A7658
square
#322A76 #762A48 #6E762A #2A7658
split-complementary
#322A76 #76582A #48762A
monochromatic
#0C0A1C #1F1A49 #322A76 #453AA3 #6357C3

Accessibility & contrast

On white

12.15
#322A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#322A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322A76
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A76#FFFFFF#000000##FFFFFF
##322A761.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003374
Tritanopia (blue-blind)
#123C4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #322a76;
/* rgb */ color: rgb(50, 42, 118);
/* oklch */ color: oklch(34.3% 0.125 282.3);
Tailwind
colors: {
  custom: {
    50: '#71649e',
    500: '#322a76',
    950: '#000000',
  },
}
SCSS
$custom: #322a76;
$custom-light: #71649e;
$custom-dark: #000000;
JSON
{
  "hex": "#322a76",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 246.316,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34255,
    "c": 0.12505,
    "h": 282.3
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#322A76
secondary
#9FA854
accent
#D751C9
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #322A76

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

Preview Lab → · Contrast checker → · Palette generator →

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