#322C87#322C87

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

Color values

HEX#322C87
RGBrgb(50, 44, 135)
HSLhsl(244, 51%, 35%)
HSVhsv(244, 67%, 53%)
CMYKcmyk(63%, 67.4%, 0%, 47.1%)
CIE-LABlab(24.41, 31.20, -50.10)
CIE-LCHlch(24.41, 59.02, 301.91°)
OKLaboklab(36.14% 0.0231 -0.1443)
OKLCHoklch(36.14% 0.146 279.1)
XYZxyz(6.5879, 4.2282, 23.3859)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322C87 #81872C
analogous
#2C5387 #322C87 #5F2C87
triadic
#322C87 #87322C #2C8732
tetradic
#322C87 #872C53 #81872C #2C875F
square
#322C87 #872C53 #81872C #2C875F
split-complementary
#322C87 #875F2C #53872C
monochromatic
#100E2B #211D59 #322C87 #433BB5 #6962CC

Accessibility & contrast

On white

11.38
#322C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#322C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322C87
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322C87#FFFFFF#000000##FFFFFF
##322C871.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #322c87;
/* rgb */ color: rgb(50, 44, 135);
/* oklch */ color: oklch(36.1% 0.146 279.1);
Tailwind
colors: {
  custom: {
    50: '#7466ab',
    500: '#322c87',
    950: '#000000',
  },
}
SCSS
$custom: #322c87;
$custom-light: #7466ab;
$custom-dark: #000000;
JSON
{
  "hex": "#322c87",
  "rgb": {
    "r": 50,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 243.956,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36144,
    "c": 0.14615,
    "h": 279.1
  },
  "luminance": 0.04229
}

Semantic roles & 50–950 ramp

primary
#322C87
secondary
#ACB25D
accent
#DA4DD1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #322C87

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

Preview Lab → · Contrast checker → · Palette generator →

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