#322C8A#322C8A

#322C8A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.150 H 278.7°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#322C8A
RGBrgb(50, 44, 138)
HSLhsl(244, 52%, 36%)
HSVhsv(244, 68%, 54%)
CMYKcmyk(63.8%, 68.1%, 0%, 45.9%)
CIE-LABlab(24.68, 32.23, -51.53)
CIE-LCHlch(24.68, 60.78, 302.03°)
OKLaboklab(36.43% 0.0228 -0.1485)
OKLCHoklch(36.43% 0.15 278.7)
XYZxyz(6.8021, 4.3139, 24.5141)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322C8A #848A2C
analogous
#2C558A #322C8A #612C8A
triadic
#322C8A #8A322C #2C8A32
tetradic
#322C8A #8A2C55 #848A2C #2C8A61
square
#322C8A #8A2C55 #848A2C #2C8A61
split-complementary
#322C8A #8A612C #558A2C
monochromatic
#100E2D #211D5C #322C8A #433BB8 #6A63CD

Accessibility & contrast

On white

11.27
#322C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#322C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322C8A
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322C8A#FFFFFF#000000##FFFFFF
##322C8A1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #322c8a;
/* rgb */ color: rgb(50, 44, 138);
/* oklch */ color: oklch(36.4% 0.150 278.7);
Tailwind
colors: {
  custom: {
    50: '#7566ad',
    500: '#322c8a',
    950: '#000000',
  },
}
SCSS
$custom: #322c8a;
$custom-light: #7566ad;
$custom-dark: #000000;
JSON
{
  "hex": "#322c8a",
  "rgb": {
    "r": 50,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 243.83,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36425,
    "c": 0.15024,
    "h": 278.7
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#322C8A
secondary
#AEB45E
accent
#DB4DD2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #322C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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