#322486#322486

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

Color values

HEX#322486
RGBrgb(50, 36, 134)
HSLhsl(249, 58%, 33%)
HSVhsv(249, 73%, 53%)
CMYKcmyk(62.7%, 73.1%, 0%, 47.5%)
CIE-LABlab(22.52, 35.77, -52.58)
CIE-LCHlch(22.52, 63.59, 304.23°)
OKLaboklab(34.75% 0.0301 -0.1516)
OKLCHoklch(34.75% 0.155 281.2)
XYZxyz(6.2480, 3.6606, 22.9270)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322486 #788624
analogous
#244786 #322486 #632486
triadic
#322486 #863224 #248632
tetradic
#322486 #862447 #788624 #248663
square
#322486 #862447 #788624 #248663
split-complementary
#322486 #866324 #478624
monochromatic
#0E0A26 #201756 #322486 #4431B6 #6553D1

Accessibility & contrast

On white

12.12
#322486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322486
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322486#FFFFFF#000000##FFFFFF
##3224861.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #322486;
/* rgb */ color: rgb(50, 36, 134);
/* oklch */ color: oklch(34.8% 0.155 281.2);
Tailwind
colors: {
  custom: {
    50: '#7560aa',
    500: '#322486',
    950: '#000000',
  },
}
SCSS
$custom: #322486;
$custom-light: #7560aa;
$custom-dark: #000000;
JSON
{
  "hex": "#322486",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 248.571,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34752,
    "c": 0.15452,
    "h": 281.2
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#322486
secondary
#A7B551
accent
#E147CB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322486

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

Preview Lab → · Contrast checker → · Palette generator →

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