#322888#322888

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

Color values

HEX#322888
RGBrgb(50, 40, 136)
HSLhsl(246, 55%, 35%)
HSVhsv(246, 71%, 53%)
CMYKcmyk(63.2%, 70.6%, 0%, 46.7%)
CIE-LABlab(23.58, 34.04, -52.08)
CIE-LCHlch(23.58, 62.22, 303.16°)
OKLaboklab(35.57% 0.0264 -0.1501)
OKLCHoklch(35.57% 0.152 280)
XYZxyz(6.5167, 3.9728, 23.7112)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322888 #7E8828
analogous
#284E88 #322888 #622888
triadic
#322888 #883228 #288832
tetradic
#322888 #88284E #7E8828 #288862
square
#322888 #88284E #7E8828 #288862
split-complementary
#322888 #886228 #4E8828
monochromatic
#0F0C29 #211A59 #322888 #4336B7 #685BCF

Accessibility & contrast

On white

11.70
#322888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#322888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322888
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322888#FFFFFF#000000##FFFFFF
##3228881.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #322888;
/* rgb */ color: rgb(50, 40, 136);
/* oklch */ color: oklch(35.6% 0.152 280.0);
Tailwind
colors: {
  custom: {
    50: '#7563ac',
    500: '#322888',
    950: '#000000',
  },
}
SCSS
$custom: #322888;
$custom-light: #7563ac;
$custom-dark: #000000;
JSON
{
  "hex": "#322888",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 246.25,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35573,
    "c": 0.15244,
    "h": 280
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#322888
secondary
#ABB458
accent
#DE4ACE
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322888

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

Preview Lab → · Contrast checker → · Palette generator →

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