#322D87#322D87

#322D87 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.145 H 278.8°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#322D87
RGBrgb(50, 45, 135)
HSLhsl(243, 50%, 35%)
HSVhsv(243, 67%, 53%)
CMYKcmyk(63%, 66.7%, 0%, 47.1%)
CIE-LABlab(24.65, 30.56, -49.71)
CIE-LCHlch(24.65, 58.35, 301.58°)
OKLaboklab(36.32% 0.0222 -0.1432)
OKLCHoklch(36.32% 0.145 278.8)
XYZxyz(6.6256, 4.3037, 23.3985)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322D87 #82872D
analogous
#2D5587 #322D87 #5F2D87
triadic
#322D87 #87322D #2D8732
tetradic
#322D87 #872D55 #82872D #2D875F
square
#322D87 #872D55 #82872D #2D875F
split-complementary
#322D87 #875F2D #55872D
monochromatic
#100E2B #211E59 #322D87 #433CB5 #6963CB

Accessibility & contrast

On white

11.29
#322D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#322D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322D87
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322D87#FFFFFF#000000##FFFFFF
##322D871.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322d87;
/* rgb */ color: rgb(50, 45, 135);
/* oklch */ color: oklch(36.3% 0.145 278.8);
Tailwind
colors: {
  custom: {
    50: '#7466ab',
    500: '#322d87',
    950: '#000000',
  },
}
SCSS
$custom: #322d87;
$custom-light: #7466ab;
$custom-dark: #000000;
JSON
{
  "hex": "#322d87",
  "rgb": {
    "r": 50,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 243.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36318,
    "c": 0.14488,
    "h": 278.8
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#322D87
secondary
#ADB25E
accent
#DA4ED2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #322D87

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

Preview Lab → · Contrast checker → · Palette generator →

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