#322B8A#322B8A

#322B8A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.151 H 279.0°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#322B8A
RGBrgb(50, 43, 138)
HSLhsl(244, 52%, 35%)
HSVhsv(244, 69%, 54%)
CMYKcmyk(63.8%, 68.8%, 0%, 45.9%)
CIE-LABlab(24.45, 32.86, -51.91)
CIE-LCHlch(24.45, 61.43, 302.33°)
OKLaboklab(36.26% 0.0236 -0.1496)
OKLCHoklch(36.26% 0.151 279)
XYZxyz(6.7652, 4.2403, 24.5018)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322B8A #838A2B
analogous
#2B538A #322B8A #612B8A
triadic
#322B8A #8A322B #2B8A32
tetradic
#322B8A #8A2B53 #838A2B #2B8A61
square
#322B8A #8A2B53 #838A2B #2B8A61
split-complementary
#322B8A #8A612B #538A2B
monochromatic
#100E2D #211C5B #322B8A #433AB9 #6961CE

Accessibility & contrast

On white

11.36
#322B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322B8A
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322B8A#FFFFFF#000000##FFFFFF
##322B8A1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #322b8a;
/* rgb */ color: rgb(50, 43, 138);
/* oklch */ color: oklch(36.3% 0.151 279.0);
Tailwind
colors: {
  custom: {
    50: '#7565ad',
    500: '#322b8a',
    950: '#000000',
  },
}
SCSS
$custom: #322b8a;
$custom-light: #7565ad;
$custom-dark: #000000;
JSON
{
  "hex": "#322b8a",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 244.421,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36256,
    "c": 0.15147,
    "h": 279
  },
  "luminance": 0.04241
}

Semantic roles & 50–950 ramp

primary
#322B8A
secondary
#AEB45D
accent
#DC4CD1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #322B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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