#322897#322897

#322897 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.172 H 277.9°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#322897
RGBrgb(50, 40, 151)
HSLhsl(245, 58%, 37%)
HSVhsv(245, 74%, 59%)
CMYKcmyk(66.9%, 73.5%, 0%, 40.8%)
CIE-LABlab(25.04, 39.05, -58.98)
CIE-LCHlch(25.04, 70.73, 303.51°)
OKLaboklab(37.06% 0.0237 -0.1703)
OKLCHoklch(37.06% 0.172 277.9)
XYZxyz(7.6583, 4.4294, 29.7235)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322897 #8D9728
analogous
#285697 #322897 #692897
triadic
#322897 #973228 #289732
tetradic
#322897 #972856 #8D9728 #289769
square
#322897 #972856 #8D9728 #289769
split-complementary
#322897 #976928 #569728
monochromatic
#120E36 #221B67 #322897 #4235C7 #6E64D6

Accessibility & contrast

On white

11.13
#322897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#322897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322897
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322897#FFFFFF#000000##FFFFFF
##3228971.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #322897;
/* rgb */ color: rgb(50, 40, 151);
/* oklch */ color: oklch(37.1% 0.172 277.9);
Tailwind
colors: {
  custom: {
    50: '#7864b7',
    500: '#322897',
    950: '#000000',
  },
}
SCSS
$custom: #322897;
$custom-light: #7864b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322897",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 245.405,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37063,
    "c": 0.17194,
    "h": 277.9
  },
  "luminance": 0.0443
}

Semantic roles & 50–950 ramp

primary
#322897
secondary
#B3BC5F
accent
#E146D3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #322897

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

Preview Lab → · Contrast checker → · Palette generator →

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