#322B71#322B71

#322B71 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 34.0% C 0.116 H 282.8°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#322B71
RGBrgb(50, 43, 113)
HSLhsl(246, 45%, 31%)
HSVhsv(246, 62%, 44%)
CMYKcmyk(55.8%, 61.9%, 0%, 55.7%)
CIE-LABlab(22.29, 24.25, -39.61)
CIE-LCHlch(22.29, 46.44, 301.48°)
OKLaboklab(34.01% 0.0258 -0.1135)
OKLCHoklch(34.01% 0.116 282.8)
XYZxyz(5.1590, 3.5978, 16.0422)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322B71 #6A712B
analogous
#2B4771 #322B71 #552B71
triadic
#322B71 #71322B #2B7132
tetradic
#322B71 #712B47 #6A712B #2B7155
square
#322B71 #712B47 #6A712B #2B7155
split-complementary
#322B71 #71552B #47712B
monochromatic
#0B0918 #1E1A45 #322B71 #463C9D #6257BF

Accessibility & contrast

On white

12.21
#322B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#322B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322B71
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322B71#FFFFFF#000000##FFFFFF
##322B711.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#173B49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #322b71;
/* rgb */ color: rgb(50, 43, 113);
/* oklch */ color: oklch(34.0% 0.116 282.8);
Tailwind
colors: {
  custom: {
    50: '#70649a',
    500: '#322b71',
    950: '#000000',
  },
}
SCSS
$custom: #322b71;
$custom-light: #70649a;
$custom-dark: #000000;
JSON
{
  "hex": "#322b71",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 246,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34012,
    "c": 0.11639,
    "h": 282.8
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

primary
#322B71
secondary
#9BA355
accent
#D553C8
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #322B71

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

Preview Lab → · Contrast checker → · Palette generator →

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