#322FA8#322FA8

#322FA8 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.186 H 275.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#322FA8
RGBrgb(50, 47, 168)
HSLhsl(241, 56%, 42%)
HSVhsv(241, 72%, 66%)
CMYKcmyk(70.2%, 72%, 0%, 34.1%)
CIE-LABlab(28.21, 40.63, -64.10)
CIE-LCHlch(28.21, 75.89, 302.37°)
OKLaboklab(39.84% 0.0162 -0.1853)
OKLCHoklch(39.84% 0.186 275)
XYZxyz(9.3975, 5.5374, 37.6118)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322FA8 #A5A82F
analogous
#2F68A8 #322FA8 #6F2FA8
triadic
#322FA8 #A8322F #2FA832
tetradic
#322FA8 #A82F68 #A5A82F #2FA86F
square
#322FA8 #A82F68 #A5A82F #2FA86F
split-complementary
#322FA8 #A86F2F #68A82F
monochromatic
#161448 #242278 #322FA8 #4C48CC #7B78D9

Accessibility & contrast

On white

9.96
#322FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#322FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322FA8
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322FA8#FFFFFF#000000##FFFFFF
##322FA81.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #322fa8;
/* rgb */ color: rgb(50, 47, 168);
/* oklch */ color: oklch(39.8% 0.186 275.0);
Tailwind
colors: {
  custom: {
    50: '#7b69c3',
    500: '#322fa8',
    950: '#000000',
  },
}
SCSS
$custom: #322fa8;
$custom-light: #7b69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#322fa8",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 241.488,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39836,
    "c": 0.18598,
    "h": 275
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #322FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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