#322E97#322E97

#322E97 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.165 H 276.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#322E97
RGBrgb(50, 46, 151)
HSLhsl(242, 53%, 39%)
HSVhsv(242, 70%, 59%)
CMYKcmyk(66.9%, 69.5%, 0%, 40.8%)
CIE-LABlab(26.35, 35.45, -56.83)
CIE-LCHlch(26.35, 66.98, 301.96°)
OKLaboklab(38% 0.0194 -0.164)
OKLCHoklch(38% 0.165 276.8)
XYZxyz(7.8765, 4.8658, 29.7963)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322E97 #93972E
analogous
#2E5E97 #322E97 #662E97
triadic
#322E97 #97322E #2E9732
tetradic
#322E97 #972E5E #93972E #2E9766
square
#322E97 #972E5E #93972E #2E9766
split-complementary
#322E97 #97662E #5E972E
monochromatic
#131139 #222068 #322E97 #433EC4 #716DD2

Accessibility & contrast

On white

10.64
#322E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#322E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322E97
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322E97#FFFFFF#000000##FFFFFF
##322E971.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322e97;
/* rgb */ color: rgb(50, 46, 151);
/* oklch */ color: oklch(38.0% 0.165 276.8);
Tailwind
colors: {
  custom: {
    50: '#7767b7',
    500: '#322e97',
    950: '#000000',
  },
}
SCSS
$custom: #322e97;
$custom-light: #7767b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322e97",
  "rgb": {
    "r": 50,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 242.286,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37998,
    "c": 0.16519,
    "h": 276.8
  },
  "luminance": 0.04866
}

Semantic roles & 50–950 ramp

primary
#322E97
secondary
#B7BA67
accent
#DD4BD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #322E97

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

Preview Lab → · Contrast checker → · Palette generator →

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