#322A72#322A72

#322A72 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.9% C 0.119 H 283.0°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#322A72
RGBrgb(50, 42, 114)
HSLhsl(247, 46%, 31%)
HSVhsv(247, 63%, 45%)
CMYKcmyk(56.1%, 63.2%, 0%, 55.3%)
CIE-LABlab(22.12, 25.26, -40.53)
CIE-LCHlch(22.12, 47.76, 301.93°)
OKLaboklab(33.91% 0.0269 -0.1162)
OKLCHoklch(33.91% 0.119 283)
XYZxyz(5.1797, 3.5486, 16.3283)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A72 #6A722A
analogous
#2A4672 #322A72 #562A72
triadic
#322A72 #72322A #2A7232
tetradic
#322A72 #722A46 #6A722A #2A7256
square
#322A72 #722A46 #6A722A #2A7256
split-complementary
#322A72 #72562A #46722A
monochromatic
#0B0919 #1E1A45 #322A72 #463A9F #6256C1

Accessibility & contrast

On white

12.28
#322A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#322A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322A72
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A72#FFFFFF#000000##FFFFFF
##322A721.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#163B49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #322a72;
/* rgb */ color: rgb(50, 42, 114);
/* oklch */ color: oklch(33.9% 0.119 283.0);
Tailwind
colors: {
  custom: {
    50: '#70649b',
    500: '#322a72',
    950: '#000000',
  },
}
SCSS
$custom: #322a72;
$custom-light: #70649b;
$custom-dark: #000000;
JSON
{
  "hex": "#322a72",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 246.667,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33909,
    "c": 0.11929,
    "h": 283
  },
  "luminance": 0.03549
}

Semantic roles & 50–950 ramp

primary
#322A72
secondary
#9BA454
accent
#D652C7
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322A72

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

Preview Lab → · Contrast checker → · Palette generator →

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