#322F8B#322F8B

#322F8B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.148 H 277.8°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#322F8B
RGBrgb(50, 47, 139)
HSLhsl(242, 49%, 36%)
HSVhsv(242, 66%, 55%)
CMYKcmyk(64%, 66.2%, 0%, 45.5%)
CIE-LABlab(25.49, 30.67, -50.83)
CIE-LCHlch(25.49, 59.37, 301.10°)
OKLaboklab(37.04% 0.0201 -0.1465)
OKLCHoklch(37.04% 0.148 277.8)
XYZxyz(6.9906, 4.5747, 24.9357)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F8B #888B2F
analogous
#2F5A8B #322F8B #602F8B
triadic
#322F8B #8B322F #2F8B32
tetradic
#322F8B #8B2F5A #888B2F #2F8B60
square
#322F8B #8B2F5A #888B2F #2F8B60
split-complementary
#322F8B #8B602F #5A8B2F
monochromatic
#111030 #22205D #322F8B #423EB9 #6C68CC

Accessibility & contrast

On white

10.97
#322F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#322F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F8B
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F8B#FFFFFF#000000##FFFFFF
##322F8B1.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322f8b;
/* rgb */ color: rgb(50, 47, 139);
/* oklch */ color: oklch(37.0% 0.148 277.8);
Tailwind
colors: {
  custom: {
    50: '#7568ae',
    500: '#322f8b',
    950: '#000000',
  },
}
SCSS
$custom: #322f8b;
$custom-light: #7568ae;
$custom-dark: #000000;
JSON
{
  "hex": "#322f8b",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 241.957,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37036,
    "c": 0.14783,
    "h": 277.8
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #322F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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