#322391#322391

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

Color values

HEX#322391
RGBrgb(50, 35, 145)
HSLhsl(248, 61%, 35%)
HSVhsv(248, 76%, 57%)
CMYKcmyk(65.5%, 75.9%, 0%, 43.1%)
CIE-LABlab(23.42, 39.93, -57.95)
CIE-LCHlch(23.42, 70.38, 304.57°)
OKLaboklab(35.73% 0.0284 -0.1673)
OKLCHoklch(35.73% 0.17 279.6)
XYZxyz(7.0256, 3.9240, 27.1697)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322391 #829123
analogous
#234B91 #322391 #692391
triadic
#322391 #913223 #239132
tetradic
#322391 #91234B #829123 #239169
square
#322391 #91234B #829123 #239169
split-complementary
#322391 #916923 #4B9123
monochromatic
#100B2E #211760 #322391 #432FC2 #6958D7

Accessibility & contrast

On white

11.76
#322391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#322391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322391
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322391#FFFFFF#000000##FFFFFF
##3223911.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00338F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #322391;
/* rgb */ color: rgb(50, 35, 145);
/* oklch */ color: oklch(35.7% 0.170 279.6);
Tailwind
colors: {
  custom: {
    50: '#7760b2',
    500: '#322391',
    950: '#000000',
  },
}
SCSS
$custom: #322391;
$custom-light: #7760b2;
$custom-dark: #000000;
JSON
{
  "hex": "#322391",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 248.182,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35727,
    "c": 0.16966,
    "h": 279.6
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#322391
secondary
#ADBB55
accent
#E444CE
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322391

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

Preview Lab → · Contrast checker → · Palette generator →

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