#322FA3#322FA3

#322FA3 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.180 H 275.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#322FA3
RGBrgb(50, 47, 163)
HSLhsl(242, 55%, 41%)
HSVhsv(242, 71%, 64%)
CMYKcmyk(69.3%, 71.2%, 0%, 36.1%)
CIE-LABlab(27.72, 38.94, -61.89)
CIE-LCHlch(27.72, 73.12, 302.18°)
OKLaboklab(39.34% 0.017 -0.1788)
OKLCHoklch(39.34% 0.18 275.4)
XYZxyz(8.9406, 5.3547, 35.2056)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322FA3 #A0A32F
analogous
#2F66A3 #322FA3 #6C2FA3
triadic
#322FA3 #A3322F #2FA332
tetradic
#322FA3 #A32F66 #A0A32F #2FA36C
square
#322FA3 #A32F66 #A0A32F #2FA36C
split-complementary
#322FA3 #A36C2F #66A32F
monochromatic
#151444 #232173 #322FA3 #4946CA #7875D7

Accessibility & contrast

On white

10.14
#322FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#322FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322FA3
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322FA3#FFFFFF#000000##FFFFFF
##322FA31.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #322fa3;
/* rgb */ color: rgb(50, 47, 163);
/* oklch */ color: oklch(39.3% 0.180 275.4);
Tailwind
colors: {
  custom: {
    50: '#7a69bf',
    500: '#322fa3',
    950: '#000000',
  },
}
SCSS
$custom: #322fa3;
$custom-light: #7a69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#322fa3",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 241.552,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39336,
    "c": 0.17962,
    "h": 275.4
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#322FA3
secondary
#BDBF6F
accent
#DF49DB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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