#322FA7#322FA7

#322FA7 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.185 H 275.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#322FA7
RGBrgb(50, 47, 167)
HSLhsl(242, 56%, 42%)
HSVhsv(242, 72%, 65%)
CMYKcmyk(70.1%, 71.9%, 0%, 34.5%)
CIE-LABlab(28.12, 40.29, -63.66)
CIE-LCHlch(28.12, 75.34, 302.33°)
OKLaboklab(39.74% 0.0163 -0.184)
OKLCHoklch(39.74% 0.185 275.1)
XYZxyz(9.3047, 5.5003, 37.1230)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322FA7 #A4A72F
analogous
#2F68A7 #322FA7 #6E2FA7
triadic
#322FA7 #A7322F #2FA732
tetradic
#322FA7 #A72F68 #A4A72F #2FA76E
square
#322FA7 #A72F68 #A4A72F #2FA76E
split-complementary
#322FA7 #A76E2F #68A72F
monochromatic
#151447 #242277 #322FA7 #4B48CB #7A78D9

Accessibility & contrast

On white

10.00
#322FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#322FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322FA7
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322FA7#FFFFFF#000000##FFFFFF
##322FA71.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #322fa7;
/* rgb */ color: rgb(50, 47, 167);
/* oklch */ color: oklch(39.7% 0.185 275.1);
Tailwind
colors: {
  custom: {
    50: '#7b69c2',
    500: '#322fa7',
    950: '#000000',
  },
}
SCSS
$custom: #322fa7;
$custom-light: #7b69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#322fa7",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 241.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39736,
    "c": 0.18472,
    "h": 275.1
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#322FA7
secondary
#BFC171
accent
#DF48DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #322FA7

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

Preview Lab → · Contrast checker → · Palette generator →

#322FA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva