#322EA8#322EA8

#322EA8 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.187 H 275.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#322EA8
RGBrgb(50, 46, 168)
HSLhsl(242, 57%, 42%)
HSVhsv(242, 73%, 66%)
CMYKcmyk(70.2%, 72.6%, 0%, 34.1%)
CIE-LABlab(28.00, 41.21, -64.45)
CIE-LCHlch(28.00, 76.50, 302.60°)
OKLaboklab(39.68% 0.0168 -0.1863)
OKLCHoklch(39.68% 0.187 275.1)
XYZxyz(9.3579, 5.4584, 37.5986)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322EA8 #A4A82E
analogous
#2E67A8 #322EA8 #6F2EA8
triadic
#322EA8 #A8322E #2EA832
tetradic
#322EA8 #A82E67 #A4A82E #2EA86F
square
#322EA8 #A82E67 #A4A82E #2EA86F
split-complementary
#322EA8 #A86F2E #67A82E
monochromatic
#151448 #242178 #322EA8 #4B47CD #7A77DA

Accessibility & contrast

On white

10.04
#322EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322EA8
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322EA8#FFFFFF#000000##FFFFFF
##322EA81.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #322ea8;
/* rgb */ color: rgb(50, 46, 168);
/* oklch */ color: oklch(39.7% 0.187 275.1);
Tailwind
colors: {
  custom: {
    50: '#7b68c3',
    500: '#322ea8',
    950: '#000000',
  },
}
SCSS
$custom: #322ea8;
$custom-light: #7b68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#322ea8",
  "rgb": {
    "r": 50,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 241.967,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39685,
    "c": 0.18704,
    "h": 275.1
  },
  "luminance": 0.05459
}

Semantic roles & 50–950 ramp

primary
#322EA8
secondary
#BFC270
accent
#E048DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #322EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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