#322696#322696

#322696 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.173 H 278.4°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#322696
RGBrgb(50, 38, 150)
HSLhsl(246, 60%, 37%)
HSVhsv(246, 75%, 59%)
CMYKcmyk(66.7%, 74.7%, 0%, 41.2%)
CIE-LABlab(24.53, 39.87, -59.20)
CIE-LCHlch(24.53, 71.38, 303.96°)
OKLaboklab(36.67% 0.0252 -0.1709)
OKLCHoklch(36.67% 0.173 278.4)
XYZxyz(7.5118, 4.2657, 29.2758)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322696 #8A9626
analogous
#265296 #322696 #6A2696
triadic
#322696 #963226 #269632
tetradic
#322696 #962652 #8A9626 #26966A
square
#322696 #962652 #8A9626 #26966A
split-complementary
#322696 #966A26 #529626
monochromatic
#110D34 #221A65 #322696 #4232C7 #6C60D7

Accessibility & contrast

On white

11.33
#322696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#322696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322696
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322696#FFFFFF#000000##FFFFFF
##3226961.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322696;
/* rgb */ color: rgb(50, 38, 150);
/* oklch */ color: oklch(36.7% 0.173 278.4);
Tailwind
colors: {
  custom: {
    50: '#7862b6',
    500: '#322696',
    950: '#000000',
  },
}
SCSS
$custom: #322696;
$custom-light: #7862b6;
$custom-dark: #000000;
JSON
{
  "hex": "#322696",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 246.429,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36668,
    "c": 0.1728,
    "h": 278.4
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

primary
#322696
secondary
#B2BC5C
accent
#E345D2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322696

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

Preview Lab → · Contrast checker → · Palette generator →

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