#322F97#322F97

#322F97 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.164 H 276.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#322F97
RGBrgb(50, 47, 151)
HSLhsl(242, 53%, 39%)
HSVhsv(242, 69%, 59%)
CMYKcmyk(66.9%, 68.9%, 0%, 40.8%)
CIE-LABlab(26.58, 34.83, -56.46)
CIE-LCHlch(26.58, 66.34, 301.67°)
OKLaboklab(38.16% 0.0187 -0.1629)
OKLCHoklch(38.16% 0.164 276.5)
XYZxyz(7.9160, 4.9448, 29.8094)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322F97 #94972F
analogous
#2F6097 #322F97 #662F97
triadic
#322F97 #97322F #2F9732
tetradic
#322F97 #972F60 #94972F #2F9766
square
#322F97 #972F60 #94972F #2F9766
split-complementary
#322F97 #97662F #60972F
monochromatic
#13123A #232068 #322F97 #4440C3 #716ED2

Accessibility & contrast

On white

10.56
#322F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#322F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322F97
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322F97#FFFFFF#000000##FFFFFF
##322F971.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #322f97;
/* rgb */ color: rgb(50, 47, 151);
/* oklch */ color: oklch(38.2% 0.164 276.5);
Tailwind
colors: {
  custom: {
    50: '#7768b7',
    500: '#322f97',
    950: '#000000',
  },
}
SCSS
$custom: #322f97;
$custom-light: #7768b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322f97",
  "rgb": {
    "r": 50,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 241.731,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38163,
    "c": 0.16401,
    "h": 276.5
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#322F97
secondary
#B7B968
accent
#DC4CD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #322F97

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

Preview Lab → · Contrast checker → · Palette generator →

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