#322786#322786

#322786 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.151 H 280.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#322786
RGBrgb(50, 39, 134)
HSLhsl(247, 55%, 34%)
HSVhsv(247, 71%, 53%)
CMYKcmyk(62.7%, 70.9%, 0%, 47.5%)
CIE-LABlab(23.17, 33.97, -51.51)
CIE-LCHlch(23.17, 61.70, 303.41°)
OKLaboklab(35.22% 0.0276 -0.1484)
OKLCHoklch(35.22% 0.151 280.5)
XYZxyz(6.3426, 3.8499, 22.9585)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322786 #7B8627
analogous
#274C86 #322786 #622786
triadic
#322786 #863227 #278632
tetradic
#322786 #86274C #7B8627 #278662
square
#322786 #86274C #7B8627 #278662
split-complementary
#322786 #866227 #4C8627
monochromatic
#0F0B27 #201957 #322786 #4435B5 #6659CF

Accessibility & contrast

On white

11.86
#322786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#322786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322786
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322786#FFFFFF#000000##FFFFFF
##3227861.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #322786;
/* rgb */ color: rgb(50, 39, 134);
/* oklch */ color: oklch(35.2% 0.151 280.5);
Tailwind
colors: {
  custom: {
    50: '#7462aa',
    500: '#322786',
    950: '#000000',
  },
}
SCSS
$custom: #322786;
$custom-light: #7462aa;
$custom-dark: #000000;
JSON
{
  "hex": "#322786",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 246.947,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35219,
    "c": 0.15098,
    "h": 280.5
  },
  "luminance": 0.0385
}

Semantic roles & 50–950 ramp

primary
#322786
secondary
#A9B455
accent
#DE4ACD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322786

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

Preview Lab → · Contrast checker → · Palette generator →

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