#322DA7#322DA7

#322DA7 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.187 H 275.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#322DA7
RGBrgb(50, 45, 167)
HSLhsl(242, 58%, 42%)
HSVhsv(242, 73%, 65%)
CMYKcmyk(70.1%, 73.1%, 0%, 34.5%)
CIE-LABlab(27.69, 41.46, -64.35)
CIE-LCHlch(27.69, 76.55, 302.79°)
OKLaboklab(39.43% 0.0175 -0.186)
OKLCHoklch(39.43% 0.187 275.4)
XYZxyz(9.2265, 5.3440, 37.0970)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322DA7 #A2A72D
analogous
#2D65A7 #322DA7 #6F2DA7
triadic
#322DA7 #A7322D #2DA732
tetradic
#322DA7 #A72D65 #A2A72D #2DA76F
square
#322DA7 #A72D65 #A2A72D #2DA76F
split-complementary
#322DA7 #A76F2D #65A72D
monochromatic
#151347 #242077 #322DA7 #4A44CD #7975DA

Accessibility & contrast

On white

10.15
#322DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#322DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322DA7
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322DA7#FFFFFF#000000##FFFFFF
##322DA71.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #322da7;
/* rgb */ color: rgb(50, 45, 167);
/* oklch */ color: oklch(39.4% 0.187 275.4);
Tailwind
colors: {
  custom: {
    50: '#7b67c2',
    500: '#322da7',
    950: '#000000',
  },
}
SCSS
$custom: #322da7;
$custom-light: #7b67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#322da7",
  "rgb": {
    "r": 50,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 242.459,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39435,
    "c": 0.18683,
    "h": 275.4
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#322DA7
secondary
#BEC16E
accent
#E147DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #322DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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