#322299#322299

#322299 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.181 H 278.6°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#322299
RGBrgb(50, 34, 153)
HSLhsl(248, 64%, 37%)
HSVhsv(248, 78%, 60%)
CMYKcmyk(67.3%, 77.8%, 0%, 40%)
CIE-LABlab(24.07, 43.03, -61.81)
CIE-LCHlch(24.07, 75.31, 304.84°)
OKLaboklab(36.44% 0.027 -0.1785)
OKLCHoklch(36.44% 0.181 278.6)
XYZxyz(7.6353, 4.1214, 30.5240)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322299 #899922
analogous
#224E99 #322299 #6E2299
triadic
#322299 #993222 #229932
tetradic
#322299 #99224E #899922 #22996E
square
#322299 #99224E #899922 #22996E
split-complementary
#322299 #996E22 #4E9922
monochromatic
#110C35 #221767 #322299 #422DCB #6C5BDB

Accessibility & contrast

On white

11.51
#322299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#322299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322299
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322299#FFFFFF#000000##FFFFFF
##3222991.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #322299;
/* rgb */ color: rgb(50, 34, 153);
/* oklch */ color: oklch(36.4% 0.181 278.6);
Tailwind
colors: {
  custom: {
    50: '#7960b8',
    500: '#322299',
    950: '#000000',
  },
}
SCSS
$custom: #322299;
$custom-light: #7960b8;
$custom-dark: #000000;
JSON
{
  "hex": "#322299",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 248.067,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36436,
    "c": 0.18055,
    "h": 278.6
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#322299
secondary
#B1BF58
accent
#E741D0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #322299

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

Preview Lab → · Contrast checker → · Palette generator →

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