#322A90#322A90

#322A90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.161 H 278.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#322A90
RGBrgb(50, 42, 144)
HSLhsl(245, 55%, 36%)
HSVhsv(245, 71%, 56%)
CMYKcmyk(65.3%, 70.8%, 0%, 43.5%)
CIE-LABlab(24.79, 35.52, -55.08)
CIE-LCHlch(24.79, 65.54, 302.81°)
OKLaboklab(36.67% 0.0235 -0.1589)
OKLCHoklch(36.67% 0.161 278.4)
XYZxyz(7.1758, 4.3471, 26.8411)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A90 #88902A
analogous
#2A5590 #322A90 #652A90
triadic
#322A90 #90322A #2A9032
tetradic
#322A90 #902A55 #88902A #2A9065
square
#322A90 #902A55 #88902A #2A9065
split-complementary
#322A90 #90652A #55902A
monochromatic
#110E31 #221C61 #322A90 #4238BF #6C63D1

Accessibility & contrast

On white

11.23
#322A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#322A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322A90
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A90#FFFFFF#000000##FFFFFF
##322A901.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #322a90;
/* rgb */ color: rgb(50, 42, 144);
/* oklch */ color: oklch(36.7% 0.161 278.4);
Tailwind
colors: {
  custom: {
    50: '#7665b1',
    500: '#322a90',
    950: '#000000',
  },
}
SCSS
$custom: #322a90;
$custom-light: #7665b1;
$custom-dark: #000000;
JSON
{
  "hex": "#322a90",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 244.706,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36671,
    "c": 0.16064,
    "h": 278.4
  },
  "luminance": 0.04348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #322A90

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

Preview Lab → · Contrast checker → · Palette generator →

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