#322D7D#322D7D

#322D7D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.131 H 280.2°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#322D7D
RGBrgb(50, 45, 125)
HSLhsl(244, 47%, 33%)
HSVhsv(244, 64%, 49%)
CMYKcmyk(60%, 64%, 0%, 51%)
CIE-LABlab(23.79, 27.08, -44.83)
CIE-LCHlch(23.79, 52.38, 301.14°)
OKLaboklab(35.42% 0.0231 -0.1288)
OKLCHoklch(35.42% 0.131 280.2)
XYZxyz(5.9543, 4.0351, 19.8632)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322D7D #787D2D
analogous
#2D507D #322D7D #5A2D7D
triadic
#322D7D #7D322D #2D7D32
tetradic
#322D7D #7D2D50 #787D2D #2D7D5A
square
#322D7D #7D2D50 #787D2D #2D7D5A
split-complementary
#322D7D #7D5A2D #507D2D
monochromatic
#0E0D23 #201D50 #322D7D #443DAA #655FC5

Accessibility & contrast

On white

11.62
#322D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#322D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322D7D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322D7D#FFFFFF#000000##FFFFFF
##322D7D1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#054150
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #322d7d;
/* rgb */ color: rgb(50, 45, 125);
/* oklch */ color: oklch(35.4% 0.131 280.2);
Tailwind
colors: {
  custom: {
    50: '#7266a3',
    500: '#322d7d',
    950: '#000000',
  },
}
SCSS
$custom: #322d7d;
$custom-light: #7266a3;
$custom-dark: #000000;
JSON
{
  "hex": "#322d7d",
  "rgb": {
    "r": 50,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 243.75,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35418,
    "c": 0.13089,
    "h": 280.2
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#322D7D
secondary
#A7AC5A
accent
#D751CE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #322D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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