#322FA5#322FA5

#322FA5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.182 H 275.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#322FA5
RGBrgb(50, 47, 165)
HSLhsl(242, 56%, 42%)
HSVhsv(242, 72%, 65%)
CMYKcmyk(69.7%, 71.5%, 0%, 35.3%)
CIE-LABlab(27.92, 39.61, -62.78)
CIE-LCHlch(27.92, 74.23, 302.25°)
OKLaboklab(39.53% 0.0166 -0.1814)
OKLCHoklch(39.53% 0.182 275.2)
XYZxyz(9.1212, 5.4269, 36.1568)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322FA5 #A2A52F
analogous
#2F67A5 #322FA5 #6D2FA5
triadic
#322FA5 #A5322F #2FA532
tetradic
#322FA5 #A52F67 #A2A52F #2FA56D
square
#322FA5 #A52F67 #A2A52F #2FA56D
split-complementary
#322FA5 #A56D2F #67A52F
monochromatic
#151446 #242175 #322FA5 #4A47CB #7976D8

Accessibility & contrast

On white

10.07
#322FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#322FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322FA5
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322FA5#FFFFFF#000000##FFFFFF
##322FA51.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #322fa5;
/* rgb */ color: rgb(50, 47, 165);
/* oklch */ color: oklch(39.5% 0.182 275.2);
Tailwind
colors: {
  custom: {
    50: '#7a69c1',
    500: '#322fa5',
    950: '#000000',
  },
}
SCSS
$custom: #322fa5;
$custom-light: #7a69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#322fa5",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 241.525,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39535,
    "c": 0.18218,
    "h": 275.2
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#322FA5
secondary
#BEC070
accent
#DF49DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #322FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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