#322971#322971

#322971 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.6% C 0.119 H 283.6°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#322971
RGBrgb(50, 41, 113)
HSLhsl(248, 47%, 30%)
HSVhsv(248, 64%, 44%)
CMYKcmyk(55.8%, 63.7%, 0%, 55.7%)
CIE-LABlab(21.78, 25.58, -40.43)
CIE-LCHlch(21.78, 47.84, 302.31°)
OKLaboklab(33.64% 0.0281 -0.1159)
OKLCHoklch(33.64% 0.119 283.6)
XYZxyz(5.0881, 3.4560, 16.0185)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322971 #687129
analogous
#294471 #322971 #562971
triadic
#322971 #713229 #297132
tetradic
#322971 #712944 #687129 #297156
square
#322971 #712944 #687129 #297156
split-complementary
#322971 #715629 #447129
monochromatic
#0A0817 #1E1944 #322971 #46399E #6154C1

Accessibility & contrast

On white

12.42
#322971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#322971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322971
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322971#FFFFFF#000000##FFFFFF
##3229711.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#173A48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322971;
/* rgb */ color: rgb(50, 41, 113);
/* oklch */ color: oklch(33.6% 0.119 283.6);
Tailwind
colors: {
  custom: {
    50: '#70639a',
    500: '#322971',
    950: '#000000',
  },
}
SCSS
$custom: #322971;
$custom-light: #70639a;
$custom-dark: #000000;
JSON
{
  "hex": "#322971",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 247.5,
    "s": 46.753,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33638,
    "c": 0.11928,
    "h": 283.6
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#322971
secondary
#99A353
accent
#D651C6
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322971

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

Preview Lab → · Contrast checker → · Palette generator →

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