#322987#322987

#322987 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.150 H 279.9°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#322987
RGBrgb(50, 41, 135)
HSLhsl(246, 53%, 35%)
HSVhsv(246, 70%, 53%)
CMYKcmyk(63%, 69.6%, 0%, 47.1%)
CIE-LABlab(23.71, 33.08, -51.24)
CIE-LCHlch(23.71, 60.99, 302.85°)
OKLaboklab(35.64% 0.0258 -0.1477)
OKLCHoklch(35.64% 0.15 279.9)
XYZxyz(6.4801, 4.0128, 23.3500)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322987 #7E8729
analogous
#294F87 #322987 #612987
triadic
#322987 #873229 #298732
tetradic
#322987 #87294F #7E8729 #298761
square
#322987 #87294F #7E8729 #298761
split-complementary
#322987 #876129 #4F8729
monochromatic
#0F0C29 #211B58 #322987 #4337B6 #685DCE

Accessibility & contrast

On white

11.65
#322987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#322987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322987
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322987#FFFFFF#000000##FFFFFF
##3229871.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #322987;
/* rgb */ color: rgb(50, 41, 135);
/* oklch */ color: oklch(35.6% 0.150 279.9);
Tailwind
colors: {
  custom: {
    50: '#7564ab',
    500: '#322987',
    950: '#000000',
  },
}
SCSS
$custom: #322987;
$custom-light: #7564ab;
$custom-dark: #000000;
JSON
{
  "hex": "#322987",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 245.745,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35639,
    "c": 0.14989,
    "h": 279.9
  },
  "luminance": 0.04013
}

Semantic roles & 50–950 ramp

primary
#322987
secondary
#ABB359
accent
#DD4BCF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #322987

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

Preview Lab → · Contrast checker → · Palette generator →

#322987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva