#322292#322292

#322292 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.172 H 279.6°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#322292
RGBrgb(50, 34, 146)
HSLhsl(249, 62%, 35%)
HSVhsv(249, 77%, 57%)
CMYKcmyk(65.8%, 76.7%, 0%, 42.7%)
CIE-LABlab(23.33, 40.80, -58.72)
CIE-LCHlch(23.33, 71.50, 304.80°)
OKLaboklab(35.69% 0.0288 -0.1695)
OKLCHoklch(35.69% 0.172 279.6)
XYZxyz(7.0741, 3.8969, 27.5680)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322292 #829222
analogous
#224A92 #322292 #6A2292
triadic
#322292 #923222 #229232
tetradic
#322292 #92224A #829222 #22926A
square
#322292 #92224A #829222 #22926A
split-complementary
#322292 #926A22 #4A9222
monochromatic
#100B2F #211660 #322292 #432EC4 #6957D8

Accessibility & contrast

On white

11.80
#322292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#322292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322292
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322292#FFFFFF#000000##FFFFFF
##3222921.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #322292;
/* rgb */ color: rgb(50, 34, 146);
/* oklch */ color: oklch(35.7% 0.172 279.6);
Tailwind
colors: {
  custom: {
    50: '#7760b3',
    500: '#322292',
    950: '#000000',
  },
}
SCSS
$custom: #322292;
$custom-light: #7760b3;
$custom-dark: #000000;
JSON
{
  "hex": "#322292",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 248.571,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35694,
    "c": 0.17192,
    "h": 279.6
  },
  "luminance": 0.03897
}

Semantic roles & 50–950 ramp

primary
#322292
secondary
#ADBC54
accent
#E543CE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322292

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

Preview Lab → · Contrast checker → · Palette generator →

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