#322896#322896

#322896 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.171 H 278.1°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#322896
RGBrgb(50, 40, 150)
HSLhsl(245, 58%, 37%)
HSVhsv(245, 73%, 59%)
CMYKcmyk(66.7%, 73.3%, 0%, 41.2%)
CIE-LABlab(24.94, 38.72, -58.53)
CIE-LCHlch(24.94, 70.17, 303.48°)
OKLaboklab(36.96% 0.0239 -0.169)
OKLCHoklch(36.96% 0.171 278.1)
XYZxyz(7.5774, 4.3971, 29.2977)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322896 #8C9628
analogous
#285596 #322896 #692896
triadic
#322896 #963228 #289632
tetradic
#322896 #962855 #8C9628 #289669
square
#322896 #962855 #8C9628 #289669
split-complementary
#322896 #966928 #559628
monochromatic
#120E35 #221B66 #322896 #4235C6 #6D63D5

Accessibility & contrast

On white

11.17
#322896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#322896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322896
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322896#FFFFFF#000000##FFFFFF
##3228961.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #322896;
/* rgb */ color: rgb(50, 40, 150);
/* oklch */ color: oklch(37.0% 0.171 278.1);
Tailwind
colors: {
  custom: {
    50: '#7864b6',
    500: '#322896',
    950: '#000000',
  },
}
SCSS
$custom: #322896;
$custom-light: #7864b6;
$custom-dark: #000000;
JSON
{
  "hex": "#322896",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 245.455,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36961,
    "c": 0.17066,
    "h": 278.1
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#322896
secondary
#B3BB5F
accent
#E147D3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #322896

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

Preview Lab → · Contrast checker → · Palette generator →

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