#322F8A#322F8A

#322F8A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.146 H 277.9°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#322F8A
RGBrgb(50, 47, 138)
HSLhsl(242, 49%, 36%)
HSVhsv(242, 66%, 54%)
CMYKcmyk(63.8%, 65.9%, 0%, 45.9%)
CIE-LABlab(25.40, 30.32, -50.36)
CIE-LCHlch(25.40, 58.78, 301.05°)
OKLaboklab(36.95% 0.0202 -0.1451)
OKLCHoklch(36.95% 0.146 277.9)
XYZxyz(6.9179, 4.5456, 24.5527)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F8A #878A2F
analogous
#2F5A8A #322F8A #602F8A
triadic
#322F8A #8A322F #2F8A32
tetradic
#322F8A #8A2F5A #878A2F #2F8A60
square
#322F8A #8A2F5A #878A2F #2F8A60
split-complementary
#322F8A #8A602F #5A8A2F
monochromatic
#11102F #211F5C #322F8A #433FB8 #6B68CC

Accessibility & contrast

On white

11.00
#322F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#322F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F8A
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F8A#FFFFFF#000000##FFFFFF
##322F8A1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #322f8a;
/* rgb */ color: rgb(50, 47, 138);
/* oklch */ color: oklch(36.9% 0.146 277.9);
Tailwind
colors: {
  custom: {
    50: '#7568ad',
    500: '#322f8a',
    950: '#000000',
  },
}
SCSS
$custom: #322f8a;
$custom-light: #7568ad;
$custom-dark: #000000;
JSON
{
  "hex": "#322f8a",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 241.978,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36945,
    "c": 0.14645,
    "h": 277.9
  },
  "luminance": 0.04546
}

Semantic roles & 50–950 ramp

primary
#322F8A
secondary
#B0B362
accent
#D94FD4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #322F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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