#322A8B#322A8B

#322A8B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.154 H 279.1°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#322A8B
RGBrgb(50, 42, 139)
HSLhsl(245, 54%, 35%)
HSVhsv(245, 70%, 55%)
CMYKcmyk(64%, 69.8%, 0%, 45.5%)
CIE-LABlab(24.31, 33.82, -52.75)
CIE-LCHlch(24.31, 62.66, 302.66°)
OKLaboklab(36.19% 0.0243 -0.1521)
OKLCHoklch(36.19% 0.154 279.1)
XYZxyz(6.8021, 4.1976, 24.8729)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A8B #838B2A
analogous
#2A538B #322A8B #622A8B
triadic
#322A8B #8B322A #2A8B32
tetradic
#322A8B #8B2A53 #838B2A #2A8B62
square
#322A8B #8B2A53 #838B2A #2A8B62
split-complementary
#322A8B #8B622A #538B2A
monochromatic
#100E2D #211C5C #322A8B #4338BA #6960CF

Accessibility & contrast

On white

11.42
#322A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#322A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322A8B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A8B#FFFFFF#000000##FFFFFF
##322A8B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #322a8b;
/* rgb */ color: rgb(50, 42, 139);
/* oklch */ color: oklch(36.2% 0.154 279.1);
Tailwind
colors: {
  custom: {
    50: '#7564ae',
    500: '#322a8b',
    950: '#000000',
  },
}
SCSS
$custom: #322a8b;
$custom-light: #7564ae;
$custom-dark: #000000;
JSON
{
  "hex": "#322a8b",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 244.948,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36187,
    "c": 0.15403,
    "h": 279.1
  },
  "luminance": 0.04198
}

Semantic roles & 50–950 ramp

primary
#322A8B
secondary
#AEB55C
accent
#DD4BD1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #322A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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