#322C8B#322C8B

#322C8B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.152 H 278.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#322C8B
RGBrgb(50, 44, 139)
HSLhsl(244, 52%, 36%)
HSVhsv(244, 68%, 55%)
CMYKcmyk(64%, 68.3%, 0%, 45.5%)
CIE-LABlab(24.77, 32.57, -52.00)
CIE-LCHlch(24.77, 61.36, 302.06°)
OKLaboklab(36.52% 0.0227 -0.1499)
OKLCHoklch(36.52% 0.152 278.6)
XYZxyz(6.8748, 4.3430, 24.8971)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322C8B #858B2C
analogous
#2C558B #322C8B #612C8B
triadic
#322C8B #8B322C #2C8B32
tetradic
#322C8B #8B2C55 #858B2C #2C8B61
square
#322C8B #8B2C55 #858B2C #2C8B61
split-complementary
#322C8B #8B612C #558B2C
monochromatic
#110F2E #211D5D #322C8B #433BB9 #6A64CE

Accessibility & contrast

On white

11.24
#322C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#322C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322C8B
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322C8B#FFFFFF#000000##FFFFFF
##322C8B1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #322c8b;
/* rgb */ color: rgb(50, 44, 139);
/* oklch */ color: oklch(36.5% 0.152 278.6);
Tailwind
colors: {
  custom: {
    50: '#7566ae',
    500: '#322c8b',
    950: '#000000',
  },
}
SCSS
$custom: #322c8b;
$custom-light: #7566ae;
$custom-dark: #000000;
JSON
{
  "hex": "#322c8b",
  "rgb": {
    "r": 50,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 243.789,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36519,
    "c": 0.15158,
    "h": 278.6
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#322C8B
secondary
#AFB45F
accent
#DB4CD2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #322C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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