#322498#322498

#322498 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.177 H 278.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#322498
RGBrgb(50, 36, 152)
HSLhsl(247, 62%, 37%)
HSVhsv(247, 76%, 60%)
CMYKcmyk(67.1%, 76.3%, 0%, 40.4%)
CIE-LABlab(24.34, 41.63, -60.75)
CIE-LCHlch(24.34, 73.64, 304.43°)
OKLaboklab(36.6% 0.0261 -0.1754)
OKLCHoklch(36.6% 0.177 278.4)
XYZxyz(7.6119, 4.2062, 30.1104)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322498 #8A9824
analogous
#245098 #322498 #6C2498
triadic
#322498 #983224 #249832
tetradic
#322498 #982450 #8A9824 #24986C
square
#322498 #982450 #8A9824 #24986C
split-complementary
#322498 #986C24 #509824
monochromatic
#110D35 #221867 #322498 #4230C9 #6C5ED9

Accessibility & contrast

On white

11.40
#322498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#322498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322498
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322498#FFFFFF#000000##FFFFFF
##3224981.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9B
Deuteranopia (green-blind)
#003596
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #322498;
/* rgb */ color: rgb(50, 36, 152);
/* oklch */ color: oklch(36.6% 0.177 278.4);
Tailwind
colors: {
  custom: {
    50: '#7961b7',
    500: '#322498',
    950: '#000000',
  },
}
SCSS
$custom: #322498;
$custom-light: #7961b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322498",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 247.241,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36597,
    "c": 0.17736,
    "h": 278.4
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#322498
secondary
#B2BE5A
accent
#E543D1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322498

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

Preview Lab → · Contrast checker → · Palette generator →

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