#322899#322899

#322899 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.174 H 277.7°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#322899
RGBrgb(50, 40, 153)
HSLhsl(245, 59%, 38%)
HSVhsv(245, 74%, 60%)
CMYKcmyk(67.3%, 73.9%, 0%, 40%)
CIE-LABlab(25.24, 39.71, -59.87)
CIE-LCHlch(25.24, 71.84, 303.55°)
OKLaboklab(37.27% 0.0233 -0.1729)
OKLCHoklch(37.27% 0.174 277.7)
XYZxyz(7.8221, 4.4949, 30.5862)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322899 #8F9928
analogous
#285699 #322899 #6B2899
triadic
#322899 #993228 #289932
tetradic
#322899 #992856 #8F9928 #28996B
square
#322899 #992856 #8F9928 #28996B
split-complementary
#322899 #996B28 #569928
monochromatic
#120F38 #221B68 #322899 #4235CA #6F65D7

Accessibility & contrast

On white

11.06
#322899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#322899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322899
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322899#FFFFFF#000000##FFFFFF
##3228991.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #322899;
/* rgb */ color: rgb(50, 40, 153);
/* oklch */ color: oklch(37.3% 0.174 277.7);
Tailwind
colors: {
  custom: {
    50: '#7864b8',
    500: '#322899',
    950: '#000000',
  },
}
SCSS
$custom: #322899;
$custom-light: #7864b8;
$custom-dark: #000000;
JSON
{
  "hex": "#322899",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 245.31,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37267,
    "c": 0.17447,
    "h": 277.7
  },
  "luminance": 0.04496
}

Semantic roles & 50–950 ramp

primary
#322899
secondary
#B4BD60
accent
#E246D4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #322899

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

Preview Lab → · Contrast checker → · Palette generator →

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