#322A80#322A80

#322A80 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.139 H 280.7°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#322A80
RGBrgb(50, 42, 128)
HSLhsl(246, 51%, 33%)
HSVhsv(246, 67%, 50%)
CMYKcmyk(60.9%, 67.2%, 0%, 49.8%)
CIE-LABlab(23.31, 30.06, -47.50)
CIE-LCHlch(23.31, 56.22, 302.33°)
OKLaboklab(35.15% 0.0258 -0.1367)
OKLCHoklch(35.15% 0.139 280.7)
XYZxyz(6.0384, 3.8921, 20.8509)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A80 #78802A
analogous
#2A4D80 #322A80 #5D2A80
triadic
#322A80 #80322A #2A8032
tetradic
#322A80 #802A4D #78802A #2A805D
square
#322A80 #802A4D #78802A #2A805D
split-complementary
#322A80 #805D2A #4D802A
monochromatic
#0E0C24 #201B52 #322A80 #4439AE #655BC9

Accessibility & contrast

On white

11.81
#322A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#322A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322A80
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A80#FFFFFF#000000##FFFFFF
##322A801.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #322a80;
/* rgb */ color: rgb(50, 42, 128);
/* oklch */ color: oklch(35.2% 0.139 280.7);
Tailwind
colors: {
  custom: {
    50: '#7364a6',
    500: '#322a80',
    950: '#000000',
  },
}
SCSS
$custom: #322a80;
$custom-light: #7364a6;
$custom-dark: #000000;
JSON
{
  "hex": "#322a80",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 245.581,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35152,
    "c": 0.1391,
    "h": 280.7
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#322A80
secondary
#A7AF57
accent
#DA4ECD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #322A80

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

Preview Lab → · Contrast checker → · Palette generator →

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