#322B79#322B79

#322B79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.128 H 281.5°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#322B79
RGBrgb(50, 43, 121)
HSLhsl(245, 48%, 32%)
HSVhsv(245, 64%, 47%)
CMYKcmyk(58.7%, 64.5%, 0%, 52.5%)
CIE-LABlab(22.95, 27.01, -43.66)
CIE-LCHlch(22.95, 51.33, 301.74°)
OKLaboklab(34.7% 0.0254 -0.1254)
OKLCHoklch(34.7% 0.128 281.5)
XYZxyz(5.6294, 3.7860, 18.5196)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322B79 #72792B
analogous
#2B4B79 #322B79 #592B79
triadic
#322B79 #79322B #2B7932
tetradic
#322B79 #792B4B #72792B #2B7959
square
#322B79 #792B4B #72792B #2B7959
split-complementary
#322B79 #79592B #4B792B
monochromatic
#0D0B1F #1F1B4C #322B79 #453BA6 #645AC4

Accessibility & contrast

On white

11.95
#322B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322B79
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322B79#FFFFFF#000000##FFFFFF
##322B791.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#0D3E4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #322b79;
/* rgb */ color: rgb(50, 43, 121);
/* oklch */ color: oklch(34.7% 0.128 281.5);
Tailwind
colors: {
  custom: {
    50: '#7265a0',
    500: '#322b79',
    950: '#000000',
  },
}
SCSS
$custom: #322b79;
$custom-light: #7265a0;
$custom-dark: #000000;
JSON
{
  "hex": "#322b79",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 245.385,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34701,
    "c": 0.12794,
    "h": 281.5
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#322B79
secondary
#A3AA56
accent
#D751CB
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050F
muted
#7B7A7E

Preview Lab

Preview with #322B79

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

Preview Lab → · Contrast checker → · Palette generator →

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