#322B89#322B89

#322B89 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.150 H 279.1°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#322B89
RGBrgb(50, 43, 137)
HSLhsl(244, 52%, 35%)
HSVhsv(244, 69%, 54%)
CMYKcmyk(63.5%, 68.6%, 0%, 46.3%)
CIE-LABlab(24.36, 32.52, -51.43)
CIE-LCHlch(24.36, 60.85, 302.30°)
OKLaboklab(36.16% 0.0238 -0.1482)
OKLCHoklch(36.16% 0.15 279.1)
XYZxyz(6.6932, 4.2115, 24.1223)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322B89 #82892B
analogous
#2B5389 #322B89 #612B89
triadic
#322B89 #89322B #2B8932
tetradic
#322B89 #892B53 #82892B #2B8961
square
#322B89 #892B53 #82892B #2B8961
split-complementary
#322B89 #89612B #53892B
monochromatic
#100E2C #211C5A #322B89 #433AB8 #6961CD

Accessibility & contrast

On white

11.40
#322B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#322B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322B89
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322B89#FFFFFF#000000##FFFFFF
##322B891.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #322b89;
/* rgb */ color: rgb(50, 43, 137);
/* oklch */ color: oklch(36.2% 0.150 279.1);
Tailwind
colors: {
  custom: {
    50: '#7565ac',
    500: '#322b89',
    950: '#000000',
  },
}
SCSS
$custom: #322b89;
$custom-light: #7565ac;
$custom-dark: #000000;
JSON
{
  "hex": "#322b89",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 244.468,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36162,
    "c": 0.15012,
    "h": 279.1
  },
  "luminance": 0.04212
}

Semantic roles & 50–950 ramp

primary
#322B89
secondary
#ADB35C
accent
#DC4CD1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #322B89

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

Preview Lab → · Contrast checker → · Palette generator →

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