#322F84#322F84

#322F84 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.138 H 278.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#322F84
RGBrgb(50, 47, 132)
HSLhsl(242, 47%, 35%)
HSVhsv(242, 64%, 52%)
CMYKcmyk(62.1%, 64.4%, 0%, 48.2%)
CIE-LABlab(24.88, 28.22, -47.46)
CIE-LCHlch(24.88, 55.21, 300.73°)
OKLaboklab(36.4% 0.0206 -0.1365)
OKLCHoklch(36.4% 0.138 278.6)
XYZxyz(6.4954, 4.3766, 22.3278)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F84 #81842F
analogous
#2F5684 #322F84 #5D2F84
triadic
#322F84 #84322F #2F8432
tetradic
#322F84 #842F56 #81842F #2F845D
square
#322F84 #842F56 #81842F #2F845D
split-complementary
#322F84 #845D2F #56842F
monochromatic
#100F2A #211F57 #322F84 #433FB1 #6965C8

Accessibility & contrast

On white

11.20
#322F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#322F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F84
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F84#FFFFFF#000000##FFFFFF
##322F841.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #322f84;
/* rgb */ color: rgb(50, 47, 132);
/* oklch */ color: oklch(36.4% 0.138 278.6);
Tailwind
colors: {
  custom: {
    50: '#7368a9',
    500: '#322f84',
    950: '#000000',
  },
}
SCSS
$custom: #322f84;
$custom-light: #7368a9;
$custom-dark: #000000;
JSON
{
  "hex": "#322f84",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 242.118,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36403,
    "c": 0.1381,
    "h": 278.6
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#322F84
secondary
#ACAF60
accent
#D751D2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #322F84

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

Preview Lab → · Contrast checker → · Palette generator →

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