#322289#322289

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

Color values

HEX#322289
RGBrgb(50, 34, 137)
HSLhsl(249, 60%, 34%)
HSVhsv(249, 75%, 54%)
CMYKcmyk(63.5%, 75.2%, 0%, 46.3%)
CIE-LABlab(22.40, 37.91, -54.65)
CIE-LCHlch(22.40, 66.51, 304.75°)
OKLaboklab(34.76% 0.0309 -0.1576)
OKLCHoklch(34.76% 0.161 281.1)
XYZxyz(6.4014, 3.6278, 24.0250)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322289 #798922
analogous
#224589 #322289 #652289
triadic
#322289 #893222 #228932
tetradic
#322289 #892245 #798922 #228965
square
#322289 #892245 #798922 #228965
split-complementary
#322289 #896522 #458922
monochromatic
#0E0A27 #201658 #322289 #442EBA #6651D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##322289#FFFFFF#000000##FFFFFF
##3222891.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)
#00398C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #322289;
/* rgb */ color: rgb(50, 34, 137);
/* oklch */ color: oklch(34.8% 0.161 281.1);
Tailwind
colors: {
  custom: {
    50: '#765fac',
    500: '#322289',
    950: '#000000',
  },
}
SCSS
$custom: #322289;
$custom-light: #765fac;
$custom-dark: #000000;
JSON
{
  "hex": "#322289",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 249.32,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3476,
    "c": 0.16061,
    "h": 281.1
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#322289
secondary
#A7B84F
accent
#E344CB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322289

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

Preview Lab → · Contrast checker → · Palette generator →

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