#322792#322792

#322792 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.167 H 278.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#322792
RGBrgb(50, 39, 146)
HSLhsl(246, 58%, 36%)
HSVhsv(246, 73%, 57%)
CMYKcmyk(65.8%, 73.3%, 0%, 42.7%)
CIE-LABlab(24.33, 37.98, -57.06)
CIE-LCHlch(24.33, 68.54, 303.64°)
OKLaboklab(36.41% 0.0254 -0.1647)
OKLCHoklch(36.41% 0.167 278.8)
XYZxyz(7.2276, 4.2039, 27.6191)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322792 #879227
analogous
#275292 #322792 #682792
triadic
#322792 #923227 #279232
tetradic
#322792 #922752 #879227 #279268
square
#322792 #922752 #879227 #279268
split-complementary
#322792 #926827 #529227
monochromatic
#110D31 #211A62 #322792 #4334C2 #6B5FD4

Accessibility & contrast

On white

11.41
#322792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#322792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322792
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322792#FFFFFF#000000##FFFFFF
##3227921.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #322792;
/* rgb */ color: rgb(50, 39, 146);
/* oklch */ color: oklch(36.4% 0.167 278.8);
Tailwind
colors: {
  custom: {
    50: '#7763b3',
    500: '#322792',
    950: '#000000',
  },
}
SCSS
$custom: #322792;
$custom-light: #7763b3;
$custom-dark: #000000;
JSON
{
  "hex": "#322792",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 246.168,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36407,
    "c": 0.16665,
    "h": 278.8
  },
  "luminance": 0.04204
}

Semantic roles & 50–950 ramp

primary
#322792
secondary
#B0BA5B
accent
#E147D1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322792

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

Preview Lab → · Contrast checker → · Palette generator →

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