#322497#322497

#322497 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.176 H 278.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#322497
RGBrgb(50, 36, 151)
HSLhsl(247, 61%, 37%)
HSVhsv(247, 76%, 59%)
CMYKcmyk(66.9%, 76.2%, 0%, 40.8%)
CIE-LABlab(24.24, 41.31, -60.30)
CIE-LCHlch(24.24, 73.10, 304.41°)
OKLaboklab(36.49% 0.0263 -0.1741)
OKLCHoklch(36.49% 0.176 278.6)
XYZxyz(7.5304, 4.1736, 29.6809)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322497 #899724
analogous
#245097 #322497 #6C2497
triadic
#322497 #973224 #249732
tetradic
#322497 #972450 #899724 #24976C
square
#322497 #972450 #899724 #24976C
split-complementary
#322497 #976C24 #509724
monochromatic
#110C34 #221866 #322497 #4230C8 #6C5DD8

Accessibility & contrast

On white

11.45
#322497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#322497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322497
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322497#FFFFFF#000000##FFFFFF
##3224971.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #322497;
/* rgb */ color: rgb(50, 36, 151);
/* oklch */ color: oklch(36.5% 0.176 278.6);
Tailwind
colors: {
  custom: {
    50: '#7861b7',
    500: '#322497',
    950: '#000000',
  },
}
SCSS
$custom: #322497;
$custom-light: #7861b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322497",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 247.304,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36492,
    "c": 0.17611,
    "h": 278.6
  },
  "luminance": 0.04174
}

Semantic roles & 50–950 ramp

primary
#322497
secondary
#B1BD5A
accent
#E543D1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322497

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

Preview Lab → · Contrast checker → · Palette generator →

#322497 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva