#322A7D#322A7D

#322A7D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.135 H 281.1°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#322A7D
RGBrgb(50, 42, 125)
HSLhsl(246, 50%, 33%)
HSVhsv(246, 66%, 49%)
CMYKcmyk(60%, 66.4%, 0%, 51%)
CIE-LABlab(23.05, 29.04, -46.04)
CIE-LCHlch(23.05, 54.43, 302.24°)
OKLaboklab(34.88% 0.0261 -0.1324)
OKLCHoklch(34.88% 0.135 281.1)
XYZxyz(5.8439, 3.8143, 19.8264)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A7D #757D2A
analogous
#2A4B7D #322A7D #5B2A7D
triadic
#322A7D #7D322A #2A7D32
tetradic
#322A7D #7D2A4B #757D2A #2A7D5B
square
#322A7D #7D2A4B #757D2A #2A7D5B
split-complementary
#322A7D #7D5B2A #4B7D2A
monochromatic
#0D0B21 #201B4F #322A7D #4439AB #645AC8

Accessibility & contrast

On white

11.91
#322A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#322A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322A7D
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A7D#FFFFFF#000000##FFFFFF
##322A7D1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#053F4F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #322a7d;
/* rgb */ color: rgb(50, 42, 125);
/* oklch */ color: oklch(34.9% 0.135 281.1);
Tailwind
colors: {
  custom: {
    50: '#7264a3',
    500: '#322a7d',
    950: '#000000',
  },
}
SCSS
$custom: #322a7d;
$custom-light: #7264a3;
$custom-dark: #000000;
JSON
{
  "hex": "#322a7d",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 245.783,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34878,
    "c": 0.13493,
    "h": 281.1
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#322A7D
secondary
#A5AD56
accent
#D94FCC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #322A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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