#322B7C#322B7C

#322B7C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.132 H 281.0°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#322B7C
RGBrgb(50, 43, 124)
HSLhsl(245, 49%, 33%)
HSVhsv(245, 65%, 49%)
CMYKcmyk(59.7%, 65.3%, 0%, 51.4%)
CIE-LABlab(23.21, 28.04, -45.15)
CIE-LCHlch(23.21, 53.15, 301.85°)
OKLaboklab(34.97% 0.0252 -0.1298)
OKLCHoklch(34.97% 0.132 281)
XYZxyz(5.8162, 3.8607, 19.5036)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322B7C #757C2B
analogous
#2B4D7C #322B7C #5A2B7C
triadic
#322B7C #7C322B #2B7C32
tetradic
#322B7C #7C2B4D #757C2B #2B7C5A
square
#322B7C #7C2B4D #757C2B #2B7C5A
split-complementary
#322B7C #7C5A2B #4D7C2B
monochromatic
#0D0B21 #201B4F #322B7C #443BA9 #645BC6

Accessibility & contrast

On white

11.85
#322B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#322B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322B7C
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322B7C#FFFFFF#000000##FFFFFF
##322B7C1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#073F4F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #322b7c;
/* rgb */ color: rgb(50, 43, 124);
/* oklch */ color: oklch(35.0% 0.132 281.0);
Tailwind
colors: {
  custom: {
    50: '#7265a3',
    500: '#322b7c',
    950: '#000000',
  },
}
SCSS
$custom: #322b7c;
$custom-light: #7265a3;
$custom-dark: #000000;
JSON
{
  "hex": "#322b7c",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 245.185,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34966,
    "c": 0.13219,
    "h": 281
  },
  "luminance": 0.03861
}

Semantic roles & 50–950 ramp

primary
#322B7C
secondary
#A5AC57
accent
#D850CC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #322B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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