#322388#322388

#322388 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.158 H 281.1°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#322388
RGBrgb(50, 35, 136)
HSLhsl(249, 59%, 34%)
HSVhsv(249, 74%, 53%)
CMYKcmyk(63.2%, 74.3%, 0%, 46.7%)
CIE-LABlab(22.50, 37.01, -53.85)
CIE-LCHlch(22.50, 65.34, 304.50°)
OKLaboklab(34.8% 0.0304 -0.1553)
OKLCHoklch(34.8% 0.158 281.1)
XYZxyz(6.3590, 3.6573, 23.6586)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322388 #798823
analogous
#234688 #322388 #642388
triadic
#322388 #883223 #238832
tetradic
#322388 #882346 #798823 #238864
square
#322388 #882346 #798823 #238864
split-complementary
#322388 #886423 #468823
monochromatic
#0E0A27 #201657 #322388 #4430B9 #6653D3

Accessibility & contrast

On white

12.13
#322388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322388
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322388#FFFFFF#000000##FFFFFF
##3223881.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#003286
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #322388;
/* rgb */ color: rgb(50, 35, 136);
/* oklch */ color: oklch(34.8% 0.158 281.1);
Tailwind
colors: {
  custom: {
    50: '#7560ac',
    500: '#322388',
    950: '#000000',
  },
}
SCSS
$custom: #322388;
$custom-light: #7560ac;
$custom-dark: #000000;
JSON
{
  "hex": "#322388",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 248.911,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34803,
    "c": 0.15824,
    "h": 281.1
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #322388

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

Preview Lab → · Contrast checker → · Palette generator →

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