#322A7E#322A7E

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

Color values

HEX#322A7E
RGBrgb(50, 42, 126)
HSLhsl(246, 50%, 33%)
HSVhsv(246, 67%, 49%)
CMYKcmyk(60.3%, 66.7%, 0%, 50.6%)
CIE-LABlab(23.14, 29.38, -46.53)
CIE-LCHlch(23.14, 55.02, 302.27°)
OKLaboklab(34.97% 0.026 -0.1338)
OKLCHoklch(34.97% 0.136 281)
XYZxyz(5.9081, 3.8400, 20.1645)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A7E #767E2A
analogous
#2A4C7E #322A7E #5C2A7E
triadic
#322A7E #7E322A #2A7E32
tetradic
#322A7E #7E2A4C #767E2A #2A7E5C
square
#322A7E #7E2A4C #767E2A #2A7E5C
split-complementary
#322A7E #7E5C2A #4C7E2A
monochromatic
#0E0B22 #201B50 #322A7E #4439AC #655AC8

Accessibility & contrast

On white

11.88
#322A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322A7E
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A7E#FFFFFF#000000##FFFFFF
##322A7E1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#033F50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #322a7e;
/* rgb */ color: rgb(50, 42, 126);
/* oklch */ color: oklch(35.0% 0.136 281.0);
Tailwind
colors: {
  custom: {
    50: '#7364a4',
    500: '#322a7e',
    950: '#000000',
  },
}
SCSS
$custom: #322a7e;
$custom-light: #7364a4;
$custom-dark: #000000;
JSON
{
  "hex": "#322a7e",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 245.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34969,
    "c": 0.13633,
    "h": 281
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#322A7E
secondary
#A5AE56
accent
#DA4ECC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #322A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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