#322F71#322F71

#322F71 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.8% C 0.110 H 281.0°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#322F71
RGBrgb(50, 47, 113)
HSLhsl(243, 41%, 31%)
HSVhsv(243, 58%, 44%)
CMYKcmyk(55.8%, 58.4%, 0%, 55.7%)
CIE-LABlab(23.35, 21.56, -37.90)
CIE-LCHlch(23.35, 43.60, 299.63°)
OKLaboklab(34.79% 0.0211 -0.1084)
OKLCHoklch(34.79% 0.11 281)
XYZxyz(5.3116, 3.9031, 16.0931)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F71 #6E712F
analogous
#2F4D71 #322F71 #532F71
triadic
#322F71 #71322F #2F7132
tetradic
#322F71 #712F4D #6E712F #2F7153
square
#322F71 #712F4D #6E712F #2F7153
split-complementary
#322F71 #71532F #4D712F
monochromatic
#0C0B1B #1F1D46 #322F71 #45419C #635EBC

Accessibility & contrast

On white

11.79
#322F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#322F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F71
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F71#FFFFFF#000000##FFFFFF
##322F711.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033A73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#173E4B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #322f71;
/* rgb */ color: rgb(50, 47, 113);
/* oklch */ color: oklch(34.8% 0.110 281.0);
Tailwind
colors: {
  custom: {
    50: '#70679a',
    500: '#322f71',
    950: '#000000',
  },
}
SCSS
$custom: #322f71;
$custom-light: #70679a;
$custom-dark: #000000;
JSON
{
  "hex": "#322f71",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 242.727,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34792,
    "c": 0.11049,
    "h": 281
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

primary
#322F71
secondary
#9FA25A
accent
#D157CC
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #322F71

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

Preview Lab → · Contrast checker → · Palette generator →

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