#322779#322779

#322779 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.133 H 282.8°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#322779
RGBrgb(50, 39, 121)
HSLhsl(248, 51%, 31%)
HSVhsv(248, 68%, 47%)
CMYKcmyk(58.7%, 67.8%, 0%, 52.5%)
CIE-LABlab(21.98, 29.59, -45.24)
CIE-LCHlch(21.98, 54.06, 303.19°)
OKLaboklab(33.99% 0.0295 -0.1301)
OKLCHoklch(33.99% 0.133 282.8)
XYZxyz(5.4910, 3.5093, 18.4735)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322779 #6E7927
analogous
#274579 #322779 #5B2779
triadic
#322779 #793227 #277932
tetradic
#322779 #792745 #6E7927 #27795B
square
#322779 #792745 #6E7927 #27795B
split-complementary
#322779 #795B27 #457927
monochromatic
#0C091C #1F184B #322779 #4536A7 #6353C8

Accessibility & contrast

On white

12.34
#322779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#322779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322779
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322779#FFFFFF#000000##FFFFFF
##3227791.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#0E3C4C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #322779;
/* rgb */ color: rgb(50, 39, 121);
/* oklch */ color: oklch(34.0% 0.133 282.8);
Tailwind
colors: {
  custom: {
    50: '#7262a0',
    500: '#322779',
    950: '#000000',
  },
}
SCSS
$custom: #322779;
$custom-light: #7262a0;
$custom-dark: #000000;
JSON
{
  "hex": "#322779",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 248.049,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33992,
    "c": 0.13336,
    "h": 282.8
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#322779
secondary
#9FAB51
accent
#DB4DC8
background
#F7F5FA
surface
#EDEAF3
border
#C8C6CD
text
#08050F
muted
#7B797F

Preview Lab

Preview with #322779

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

Preview Lab → · Contrast checker → · Palette generator →

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