#322098#322098

#322098 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.181 H 279.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#322098
RGBrgb(50, 32, 152)
HSLhsl(249, 65%, 36%)
HSVhsv(249, 79%, 60%)
CMYKcmyk(67.1%, 78.9%, 0%, 40.4%)
CIE-LABlab(23.60, 43.76, -61.98)
CIE-LCHlch(23.60, 75.87, 305.23°)
OKLaboklab(36.07% 0.0284 -0.179)
OKLCHoklch(36.07% 0.181 279)
XYZxyz(7.4976, 3.9775, 30.0723)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322098 #869820
analogous
#204A98 #322098 #6E2098
triadic
#322098 #983220 #209832
tetradic
#322098 #98204A #869820 #20986E
square
#322098 #98204A #869820 #20986E
split-complementary
#322098 #986E20 #4A9820
monochromatic
#110B33 #211565 #322098 #432BCB #6B57DC

Accessibility & contrast

On white

11.70
#322098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#322098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322098
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322098#FFFFFF#000000##FFFFFF
##3220981.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9B
Deuteranopia (green-blind)
#003396
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #322098;
/* rgb */ color: rgb(50, 32, 152);
/* oklch */ color: oklch(36.1% 0.181 279.0);
Tailwind
colors: {
  custom: {
    50: '#795fb8',
    500: '#322098',
    950: '#000000',
  },
}
SCSS
$custom: #322098;
$custom-light: #795fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#322098",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 249,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36074,
    "c": 0.18122,
    "h": 279
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

primary
#322098
secondary
#AFBF54
accent
#E840CF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322098

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

Preview Lab → · Contrast checker → · Palette generator →

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