#322794#322794

#322794 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.169 H 278.5°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#322794
RGBrgb(50, 39, 148)
HSLhsl(246, 58%, 37%)
HSVhsv(246, 74%, 58%)
CMYKcmyk(66.2%, 73.6%, 0%, 42%)
CIE-LABlab(24.53, 38.64, -57.97)
CIE-LCHlch(24.53, 69.66, 303.68°)
OKLaboklab(36.61% 0.025 -0.1673)
OKLCHoklch(36.61% 0.169 278.5)
XYZxyz(7.3845, 4.2667, 28.4456)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322794 #899427
analogous
#275394 #322794 #692794
triadic
#322794 #943227 #279432
tetradic
#322794 #942753 #899427 #279469
square
#322794 #942753 #899427 #279469
split-complementary
#322794 #946927 #539427
monochromatic
#110D33 #221A64 #322794 #4234C4 #6C60D5

Accessibility & contrast

On white

11.33
#322794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#322794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322794
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322794#FFFFFF#000000##FFFFFF
##3227941.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #322794;
/* rgb */ color: rgb(50, 39, 148);
/* oklch */ color: oklch(36.6% 0.169 278.5);
Tailwind
colors: {
  custom: {
    50: '#7763b4',
    500: '#322794',
    950: '#000000',
  },
}
SCSS
$custom: #322794;
$custom-light: #7763b4;
$custom-dark: #000000;
JSON
{
  "hex": "#322794",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 246.055,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3661,
    "c": 0.1692,
    "h": 278.5
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#322794
secondary
#B1BB5C
accent
#E246D2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322794

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

Preview Lab → · Contrast checker → · Palette generator →

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