#322774#322774

#322774 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.126 H 283.7°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#322774
RGBrgb(50, 39, 116)
HSLhsl(249, 50%, 30%)
HSVhsv(249, 66%, 45%)
CMYKcmyk(56.9%, 66.4%, 0%, 54.5%)
CIE-LABlab(21.54, 27.90, -42.76)
CIE-LCHlch(21.54, 51.05, 303.13°)
OKLaboklab(33.54% 0.03 -0.1228)
OKLCHoklch(33.54% 0.126 283.7)
XYZxyz(5.1923, 3.3898, 16.9003)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322774 #697427
analogous
#274374 #322774 #582774
triadic
#322774 #743227 #277432
tetradic
#322774 #742743 #697427 #277458
square
#322774 #742743 #697427 #277458
split-complementary
#322774 #745827 #437427
monochromatic
#0B0818 #1E1846 #322774 #4636A2 #6151C4

Accessibility & contrast

On white

12.51
#322774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#322774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322774
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322774#FFFFFF#000000##FFFFFF
##3227741.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#153A49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322774;
/* rgb */ color: rgb(50, 39, 116);
/* oklch */ color: oklch(33.5% 0.126 283.7);
Tailwind
colors: {
  custom: {
    50: '#71629d',
    500: '#322774',
    950: '#000000',
  },
}
SCSS
$custom: #322774;
$custom-light: #71629d;
$custom-dark: #000000;
JSON
{
  "hex": "#322774",
  "rgb": {
    "r": 50,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 248.571,
    "s": 49.677,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33539,
    "c": 0.12639,
    "h": 283.7
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#322774
secondary
#9AA650
accent
#D94FC5
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322774

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

Preview Lab → · Contrast checker → · Palette generator →

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