#322396#322396

#322396 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.176 H 278.9°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#322396
RGBrgb(50, 35, 150)
HSLhsl(248, 62%, 36%)
HSVhsv(248, 77%, 59%)
CMYKcmyk(66.7%, 76.7%, 0%, 41.2%)
CIE-LABlab(23.94, 41.54, -60.18)
CIE-LCHlch(23.94, 73.12, 304.61°)
OKLaboklab(36.25% 0.0272 -0.1738)
OKLCHoklch(36.25% 0.176 278.9)
XYZxyz(7.4197, 4.0816, 29.2451)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322396 #879623
analogous
#234E96 #322396 #6C2396
triadic
#322396 #963223 #239632
tetradic
#322396 #96234E #879623 #23966C
square
#322396 #96234E #879623 #23966C
split-complementary
#322396 #966C23 #4E9623
monochromatic
#110C33 #211764 #322396 #432FC8 #6B5BD9

Accessibility & contrast

On white

11.56
#322396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#322396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322396
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322396#FFFFFF#000000##FFFFFF
##3223961.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #322396;
/* rgb */ color: rgb(50, 35, 150);
/* oklch */ color: oklch(36.3% 0.176 278.9);
Tailwind
colors: {
  custom: {
    50: '#7860b6',
    500: '#322396',
    950: '#000000',
  },
}
SCSS
$custom: #322396;
$custom-light: #7860b6;
$custom-dark: #000000;
JSON
{
  "hex": "#322396",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 247.826,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3625,
    "c": 0.17588,
    "h": 278.9
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#322396
secondary
#B0BD58
accent
#E543D0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322396

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

Preview Lab → · Contrast checker → · Palette generator →

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