#322782#322782

#322782 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.146 H 281.2°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#322782
RGBrgb(50, 39, 130)
HSLhsl(247, 54%, 33%)
HSVhsv(247, 70%, 51%)
CMYKcmyk(61.5%, 70%, 0%, 49%)
CIE-LABlab(22.79, 32.63, -49.61)
CIE-LCHlch(22.79, 59.38, 303.34°)
OKLaboklab(34.83% 0.0282 -0.1429)
OKLCHoklch(34.83% 0.146 281.2)
XYZxyz(6.0689, 3.7404, 21.5169)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322782 #778227
analogous
#274982 #322782 #5F2782
triadic
#322782 #823227 #278232
tetradic
#322782 #822749 #778227 #27825F
square
#322782 #822749 #778227 #27825F
split-complementary
#322782 #825F27 #498227
monochromatic
#0E0B24 #201953 #322782 #4435B1 #6557CD

Accessibility & contrast

On white

12.01
#322782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#322782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322782
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322782#FFFFFF#000000##FFFFFF
##3227821.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #322782;
/* rgb */ color: rgb(50, 39, 130);
/* oklch */ color: oklch(34.8% 0.146 281.2);
Tailwind
colors: {
  custom: {
    50: '#7462a7',
    500: '#322782',
    950: '#000000',
  },
}
SCSS
$custom: #322782;
$custom-light: #7462a7;
$custom-dark: #000000;
JSON
{
  "hex": "#322782",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 247.253,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34834,
    "c": 0.14564,
    "h": 281.2
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#322782
secondary
#A6B153
accent
#DD4BCB
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322782

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

Preview Lab → · Contrast checker → · Palette generator →

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