#322972#322972

#322972 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.121 H 283.4°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#322972
RGBrgb(50, 41, 114)
HSLhsl(247, 47%, 30%)
HSVhsv(247, 64%, 45%)
CMYKcmyk(56.1%, 64%, 0%, 55.3%)
CIE-LABlab(21.87, 25.92, -40.94)
CIE-LCHlch(21.87, 48.46, 302.33°)
OKLaboklab(33.72% 0.028 -0.1174)
OKLCHoklch(33.72% 0.121 283.4)
XYZxyz(5.1447, 3.4786, 16.3167)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322972 #697229
analogous
#294472 #322972 #562972
triadic
#322972 #723229 #297232
tetradic
#322972 #722944 #697229 #297256
square
#322972 #722944 #697229 #297256
split-complementary
#322972 #725629 #447229
monochromatic
#0B0918 #1E1945 #322972 #46399F #6154C1

Accessibility & contrast

On white

12.38
#322972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#322972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322972
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322972#FFFFFF#000000##FFFFFF
##3229721.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322972;
/* rgb */ color: rgb(50, 41, 114);
/* oklch */ color: oklch(33.7% 0.121 283.4);
Tailwind
colors: {
  custom: {
    50: '#70639b',
    500: '#322972',
    950: '#000000',
  },
}
SCSS
$custom: #322972;
$custom-light: #70639b;
$custom-dark: #000000;
JSON
{
  "hex": "#322972",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 247.397,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33724,
    "c": 0.12072,
    "h": 283.4
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#322972
secondary
#9AA453
accent
#D751C6
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322972

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

Preview Lab → · Contrast checker → · Palette generator →

#322972 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva