#322A8D#322A8D

#322A8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.157 H 278.8°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#322A8D
RGBrgb(50, 42, 141)
HSLhsl(245, 54%, 36%)
HSVhsv(245, 70%, 55%)
CMYKcmyk(64.5%, 70.2%, 0%, 44.7%)
CIE-LABlab(24.50, 34.50, -53.69)
CIE-LCHlch(24.50, 63.82, 302.72°)
OKLaboklab(36.38% 0.024 -0.1548)
OKLCHoklch(36.38% 0.157 278.8)
XYZxyz(6.9495, 4.2566, 25.6495)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A8D #858D2A
analogous
#2A548D #322A8D #632A8D
triadic
#322A8D #8D322A #2A8D32
tetradic
#322A8D #8D2A54 #858D2A #2A8D63
square
#322A8D #8D2A54 #858D2A #2A8D63
split-complementary
#322A8D #8D632A #548D2A
monochromatic
#110E2F #211C5E #322A8D #4338BC #6A61D0

Accessibility & contrast

On white

11.34
#322A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#322A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322A8D
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A8D#FFFFFF#000000##FFFFFF
##322A8D1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #322a8d;
/* rgb */ color: rgb(50, 42, 141);
/* oklch */ color: oklch(36.4% 0.157 278.8);
Tailwind
colors: {
  custom: {
    50: '#7664af',
    500: '#322a8d',
    950: '#000000',
  },
}
SCSS
$custom: #322a8d;
$custom-light: #7664af;
$custom-dark: #000000;
JSON
{
  "hex": "#322a8d",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 244.848,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36379,
    "c": 0.15669,
    "h": 278.8
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#322A8D
secondary
#AFB65D
accent
#DD4AD2
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #322A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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