#322796#322796

#322796 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.172 H 278.2°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#322796
RGBrgb(50, 39, 150)
HSLhsl(246, 59%, 37%)
HSVhsv(246, 74%, 59%)
CMYKcmyk(66.7%, 74%, 0%, 41.2%)
CIE-LABlab(24.74, 39.30, -58.87)
CIE-LCHlch(24.74, 70.78, 303.72°)
OKLaboklab(36.81% 0.0246 -0.17)
OKLCHoklch(36.81% 0.172 278.2)
XYZxyz(7.5442, 4.3305, 29.2866)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322796 #8B9627
analogous
#275496 #322796 #6A2796
triadic
#322796 #963227 #279632
tetradic
#322796 #962754 #8B9627 #27966A
square
#322796 #962754 #8B9627 #27966A
split-complementary
#322796 #966A27 #549627
monochromatic
#120E35 #221A65 #322796 #4234C7 #6D61D6

Accessibility & contrast

On white

11.25
#322796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#322796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322796
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322796#FFFFFF#000000##FFFFFF
##3227961.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #322796;
/* rgb */ color: rgb(50, 39, 150);
/* oklch */ color: oklch(36.8% 0.172 278.2);
Tailwind
colors: {
  custom: {
    50: '#7863b6',
    500: '#322796',
    950: '#000000',
  },
}
SCSS
$custom: #322796;
$custom-light: #7863b6;
$custom-dark: #000000;
JSON
{
  "hex": "#322796",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 245.946,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36813,
    "c": 0.17174,
    "h": 278.2
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#322796
secondary
#B2BC5D
accent
#E246D2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #322796

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

Preview Lab → · Contrast checker → · Palette generator →

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