#322197#322197

#322197 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.179 H 279.0°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#322197
RGBrgb(50, 33, 151)
HSLhsl(249, 64%, 36%)
HSVhsv(249, 78%, 59%)
CMYKcmyk(66.9%, 78.1%, 0%, 40.8%)
CIE-LABlab(23.67, 42.93, -61.24)
CIE-LCHlch(23.67, 74.79, 305.03°)
OKLaboklab(36.09% 0.0281 -0.1768)
OKLCHoklch(36.09% 0.179 279)
XYZxyz(7.4434, 3.9996, 29.6519)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322197 #869721
analogous
#214B97 #322197 #6D2197
triadic
#322197 #973221 #219732
tetradic
#322197 #97214B #869721 #21976D
square
#322197 #97214B #869721 #21976D
split-complementary
#322197 #976D21 #4B9721
monochromatic
#110B33 #211665 #322197 #432CC9 #6B58DA

Accessibility & contrast

On white

11.67
#322197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#322197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322197
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322197#FFFFFF#000000##FFFFFF
##3221971.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #322197;
/* rgb */ color: rgb(50, 33, 151);
/* oklch */ color: oklch(36.1% 0.179 279.0);
Tailwind
colors: {
  custom: {
    50: '#795fb7',
    500: '#322197',
    950: '#000000',
  },
}
SCSS
$custom: #322197;
$custom-light: #795fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#322197",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 248.644,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36093,
    "c": 0.17906,
    "h": 279
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

primary
#322197
secondary
#AFBE55
accent
#E741CF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322197

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

Preview Lab → · Contrast checker → · Palette generator →

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