#322A8F#322A8F

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

Color values

HEX#322A8F
RGBrgb(50, 42, 143)
HSLhsl(245, 55%, 36%)
HSVhsv(245, 71%, 56%)
CMYKcmyk(65%, 70.6%, 0%, 43.9%)
CIE-LABlab(24.69, 35.18, -54.62)
CIE-LCHlch(24.69, 64.97, 302.78°)
OKLaboklab(36.57% 0.0237 -0.1576)
OKLCHoklch(36.57% 0.159 278.6)
XYZxyz(7.0997, 4.3166, 26.4403)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A8F #878F2A
analogous
#2A558F #322A8F #652A8F
triadic
#322A8F #8F322A #2A8F32
tetradic
#322A8F #8F2A55 #878F2A #2A8F65
square
#322A8F #8F2A55 #878F2A #2A8F65
split-complementary
#322A8F #8F652A #558F2A
monochromatic
#110E30 #211C60 #322A8F #4338BE #6B62D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##322A8F#FFFFFF#000000##FFFFFF
##322A8F1.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)
#003F92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #322a8f;
/* rgb */ color: rgb(50, 42, 143);
/* oklch */ color: oklch(36.6% 0.159 278.6);
Tailwind
colors: {
  custom: {
    50: '#7665b1',
    500: '#322a8f',
    950: '#000000',
  },
}
SCSS
$custom: #322a8f;
$custom-light: #7665b1;
$custom-dark: #000000;
JSON
{
  "hex": "#322a8f",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 244.752,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36574,
    "c": 0.15933,
    "h": 278.6
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#322A8F
secondary
#B0B75E
accent
#DE4AD2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #322A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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