#322DAB#322DAB

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

Color values

HEX#322DAB
RGBrgb(50, 45, 171)
HSLhsl(242, 58%, 42%)
HSVhsv(242, 74%, 67%)
CMYKcmyk(70.8%, 73.7%, 0%, 32.9%)
CIE-LABlab(28.10, 42.79, -66.09)
CIE-LCHlch(28.10, 78.74, 302.92°)
OKLaboklab(39.85% 0.0168 -0.1911)
OKLCHoklch(39.85% 0.192 275)
XYZxyz(9.6020, 5.4942, 39.0746)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322DAB #A6AB2D
analogous
#2D67AB #322DAB #712DAB
triadic
#322DAB #AB322D #2DAB32
tetradic
#322DAB #AB2D67 #A6AB2D #2DAB71
square
#322DAB #AB2D67 #A6AB2D #2DAB71
split-complementary
#322DAB #AB712D #67AB2D
monochromatic
#16144A #24207B #322DAB #4C47CE #7B77DB

Accessibility & contrast

On white

10.00
#322DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#322DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322DAB
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322DAB#FFFFFF#000000##FFFFFF
##322DAB1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003CA9
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #322dab;
/* rgb */ color: rgb(50, 45, 171);
/* oklch */ color: oklch(39.8% 0.192 275.0);
Tailwind
colors: {
  custom: {
    50: '#7c68c5',
    500: '#322dab',
    950: '#000000',
  },
}
SCSS
$custom: #322dab;
$custom-light: #7c68c5;
$custom-dark: #000000;
JSON
{
  "hex": "#322dab",
  "rgb": {
    "r": 50,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 242.381,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39845,
    "c": 0.19183,
    "h": 275
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#322DAB
secondary
#C0C371
accent
#E246DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #322DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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