#322FB2#322FB2

#322FB2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.9% C 0.198 H 274.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#322FB2
RGBrgb(50, 47, 178)
HSLhsl(241, 58%, 44%)
HSVhsv(241, 74%, 70%)
CMYKcmyk(71.9%, 73.6%, 0%, 30.2%)
CIE-LABlab(29.22, 43.96, -68.43)
CIE-LCHlch(29.22, 81.34, 302.72°)
OKLaboklab(40.86% 0.0144 -0.1979)
OKLCHoklch(40.86% 0.198 274.2)
XYZxyz(10.3651, 5.9245, 42.7081)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322FB2 #AFB22F
analogous
#2F6EB2 #322FB2 #742FB2
triadic
#322FB2 #B2322F #2FB232
tetradic
#322FB2 #B22F6E #AFB22F #2FB274
square
#322FB2 #B22F6E #AFB22F #2FB274
split-complementary
#322FB2 #B2742F #6EB22F
monochromatic
#171551 #242282 #322FB2 #514ED0 #817EDD

Accessibility & contrast

On white

9.61
#322FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#322FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322FB2
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322FB2#FFFFFF#000000##FFFFFF
##322FB21.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #322fb2;
/* rgb */ color: rgb(50, 47, 178);
/* oklch */ color: oklch(40.9% 0.198 274.2);
Tailwind
colors: {
  custom: {
    50: '#7d69ca',
    500: '#322fb2',
    950: '#000000',
  },
}
SCSS
$custom: #322fb2;
$custom-light: #7d69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#322fb2",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 241.374,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40857,
    "c": 0.19844,
    "h": 274.2
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#322FB2
secondary
#C4C677
accent
#E146DE
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #322FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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