#322286#322286

#322286 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.157 H 281.6°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#322286
RGBrgb(50, 34, 134)
HSLhsl(250, 60%, 33%)
HSVhsv(250, 75%, 53%)
CMYKcmyk(62.7%, 74.6%, 0%, 47.5%)
CIE-LABlab(22.10, 36.94, -53.26)
CIE-LCHlch(22.10, 64.82, 304.74°)
OKLaboklab(34.46% 0.0316 -0.1536)
OKLCHoklch(34.46% 0.157 281.6)
XYZxyz(6.1891, 3.5430, 22.9073)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322286 #768622
analogous
#224486 #322286 #642286
triadic
#322286 #863222 #228632
tetradic
#322286 #862244 #768622 #228664
square
#322286 #862244 #768622 #228664
split-complementary
#322286 #866422 #448622
monochromatic
#0E0924 #201655 #322286 #442EB7 #6550D3

Accessibility & contrast

On white

12.29
#322286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#322286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322286
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322286#FFFFFF#000000##FFFFFF
##3222861.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #322286;
/* rgb */ color: rgb(50, 34, 134);
/* oklch */ color: oklch(34.5% 0.157 281.6);
Tailwind
colors: {
  custom: {
    50: '#755faa',
    500: '#322286',
    950: '#000000',
  },
}
SCSS
$custom: #322286;
$custom-light: #755faa;
$custom-dark: #000000;
JSON
{
  "hex": "#322286",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 249.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34455,
    "c": 0.15679,
    "h": 281.6
  },
  "luminance": 0.03543
}

Semantic roles & 50–950 ramp

primary
#322286
secondary
#A5B64E
accent
#E345C9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322286

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

Preview Lab → · Contrast checker → · Palette generator →

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