#322F79#322F79

#322F79 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.122 H 280.0°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#322F79
RGBrgb(50, 47, 121)
HSLhsl(242, 44%, 33%)
HSVhsv(242, 61%, 47%)
CMYKcmyk(58.7%, 61.2%, 0%, 52.5%)
CIE-LABlab(23.97, 24.36, -42.00)
CIE-LCHlch(23.97, 48.55, 300.11°)
OKLaboklab(35.45% 0.0211 -0.1205)
OKLCHoklch(35.45% 0.122 280)
XYZxyz(5.7820, 4.0912, 18.5705)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F79 #76792F
analogous
#2F5179 #322F79 #572F79
triadic
#322F79 #79322F #2F7932
tetradic
#322F79 #792F51 #76792F #2F7957
square
#322F79 #792F51 #76792F #2F7957
split-complementary
#322F79 #79572F #51792F
monochromatic
#0E0D21 #201E4D #322F79 #4440A5 #6561C2

Accessibility & contrast

On white

11.55
#322F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#322F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F79
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F79#FFFFFF#000000##FFFFFF
##322F791.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#0C414F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #322f79;
/* rgb */ color: rgb(50, 47, 121);
/* oklch */ color: oklch(35.4% 0.122 280.0);
Tailwind
colors: {
  custom: {
    50: '#7167a0',
    500: '#322f79',
    950: '#000000',
  },
}
SCSS
$custom: #322f79;
$custom-light: #7167a0;
$custom-dark: #000000;
JSON
{
  "hex": "#322f79",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 242.432,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3545,
    "c": 0.12234,
    "h": 280
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#322F79
secondary
#A5A85B
accent
#D454CF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060F
muted
#7B7A7E

Preview Lab

Preview with #322F79

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

Preview Lab → · Contrast checker → · Palette generator →

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