#322FB1#322FB1

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

Color values

HEX#322FB1
RGBrgb(50, 47, 177)
HSLhsl(241, 58%, 44%)
HSVhsv(241, 73%, 69%)
CMYKcmyk(71.8%, 73.4%, 0%, 30.6%)
CIE-LABlab(29.12, 43.63, -68.01)
CIE-LCHlch(29.12, 80.80, 302.68°)
OKLaboklab(40.75% 0.0146 -0.1967)
OKLCHoklch(40.75% 0.197 274.2)
XYZxyz(10.2651, 5.8845, 42.1813)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322FB1 #AEB12F
analogous
#2F6DB1 #322FB1 #732FB1
triadic
#322FB1 #B1322F #2FB132
tetradic
#322FB1 #B12F6D #AEB12F #2FB173
square
#322FB1 #B12F6D #AEB12F #2FB173
split-complementary
#322FB1 #B1732F #6DB12F
monochromatic
#171550 #242281 #322FB1 #504DD0 #807EDD

Accessibility & contrast

On white

9.65
#322FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#322FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322FB1
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322FB1#FFFFFF#000000##FFFFFF
##322FB11.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #322fb1;
/* rgb */ color: rgb(50, 47, 177);
/* oklch */ color: oklch(40.8% 0.197 274.2);
Tailwind
colors: {
  custom: {
    50: '#7d69ca',
    500: '#322fb1',
    950: '#000000',
  },
}
SCSS
$custom: #322fb1;
$custom-light: #7d69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#322fb1",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 241.385,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40754,
    "c": 0.19721,
    "h": 274.2
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#322FB1
secondary
#C4C576
accent
#E147DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #322FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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