#322B74#322B74

#322B74 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.121 H 282.3°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#322B74
RGBrgb(50, 43, 116)
HSLhsl(246, 46%, 31%)
HSVhsv(246, 63%, 45%)
CMYKcmyk(56.9%, 62.9%, 0%, 54.5%)
CIE-LABlab(22.54, 25.28, -41.14)
CIE-LCHlch(22.54, 48.29, 301.57°)
OKLaboklab(34.27% 0.0257 -0.118)
OKLCHoklch(34.27% 0.121 282.3)
XYZxyz(5.3307, 3.6665, 16.9464)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322B74 #6D742B
analogous
#2B4874 #322B74 #562B74
triadic
#322B74 #74322B #2B7432
tetradic
#322B74 #742B48 #6D742B #2B7456
square
#322B74 #742B48 #6D742B #2B7456
split-complementary
#322B74 #74562B #48742B
monochromatic
#0C0A1B #1F1A47 #322B74 #453CA1 #6258C1

Accessibility & contrast

On white

12.11
#322B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#322B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322B74
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322B74#FFFFFF#000000##FFFFFF
##322B741.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#143C4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #322b74;
/* rgb */ color: rgb(50, 43, 116);
/* oklch */ color: oklch(34.3% 0.121 282.3);
Tailwind
colors: {
  custom: {
    50: '#71649d',
    500: '#322b74',
    950: '#000000',
  },
}
SCSS
$custom: #322b74;
$custom-light: #71649d;
$custom-dark: #000000;
JSON
{
  "hex": "#322b74",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 245.753,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34267,
    "c": 0.12075,
    "h": 282.3
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#322B74
secondary
#9EA655
accent
#D652C9
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #322B74

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

Preview Lab → · Contrast checker → · Palette generator →

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