#322288#322288

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

Color values

HEX#322288
RGBrgb(50, 34, 136)
HSLhsl(249, 60%, 33%)
HSVhsv(249, 75%, 53%)
CMYKcmyk(63.2%, 75%, 0%, 46.7%)
CIE-LABlab(22.30, 37.59, -54.19)
CIE-LCHlch(22.30, 65.95, 304.75°)
OKLaboklab(34.66% 0.0312 -0.1563)
OKLCHoklch(34.66% 0.159 281.3)
XYZxyz(6.3300, 3.5993, 23.6489)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322288 #788822
analogous
#224588 #322288 #652288
triadic
#322288 #883222 #228832
tetradic
#322288 #882245 #788822 #228865
square
#322288 #882245 #788822 #228865
split-complementary
#322288 #886522 #458822
monochromatic
#0E0A26 #201657 #322288 #442EB9 #6551D3

Accessibility & contrast

On white

12.21
#322288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#322288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322288
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322288#FFFFFF#000000##FFFFFF
##3222881.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322288;
/* rgb */ color: rgb(50, 34, 136);
/* oklch */ color: oklch(34.7% 0.159 281.3);
Tailwind
colors: {
  custom: {
    50: '#755fac',
    500: '#322288',
    950: '#000000',
  },
}
SCSS
$custom: #322288;
$custom-light: #755fac;
$custom-dark: #000000;
JSON
{
  "hex": "#322288",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 249.412,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34658,
    "c": 0.15934,
    "h": 281.3
  },
  "luminance": 0.036
}

Semantic roles & 50–950 ramp

primary
#322288
secondary
#A7B74F
accent
#E345CA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322288

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

Preview Lab → · Contrast checker → · Palette generator →

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