#322387#322387

#322387 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.157 H 281.2°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#322387
RGBrgb(50, 35, 135)
HSLhsl(249, 59%, 33%)
HSVhsv(249, 74%, 53%)
CMYKcmyk(63%, 74.1%, 0%, 47.1%)
CIE-LABlab(22.40, 36.69, -53.39)
CIE-LCHlch(22.40, 64.78, 304.50°)
OKLaboklab(34.7% 0.0306 -0.1539)
OKLCHoklch(34.7% 0.157 281.2)
XYZxyz(6.2882, 3.6290, 23.2861)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322387 #788723
analogous
#234687 #322387 #642387
triadic
#322387 #873223 #238732
tetradic
#322387 #872346 #788723 #238764
square
#322387 #872346 #788723 #238764
split-complementary
#322387 #876423 #468723
monochromatic
#0E0A26 #201656 #322387 #4430B8 #6552D2

Accessibility & contrast

On white

12.17
#322387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#322387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322387
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322387#FFFFFF#000000##FFFFFF
##3223871.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003285
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #322387;
/* rgb */ color: rgb(50, 35, 135);
/* oklch */ color: oklch(34.7% 0.157 281.2);
Tailwind
colors: {
  custom: {
    50: '#7560ab',
    500: '#322387',
    950: '#000000',
  },
}
SCSS
$custom: #322387;
$custom-light: #7560ab;
$custom-dark: #000000;
JSON
{
  "hex": "#322387",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 249,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34702,
    "c": 0.15696,
    "h": 281.2
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#322387
secondary
#A7B650
accent
#E246CB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322387

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

Preview Lab → · Contrast checker → · Palette generator →

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