#322297#322297

#322297 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.178 H 278.9°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#322297
RGBrgb(50, 34, 151)
HSLhsl(248, 63%, 36%)
HSVhsv(248, 77%, 59%)
CMYKcmyk(66.9%, 77.5%, 0%, 40.8%)
CIE-LABlab(23.86, 42.40, -60.93)
CIE-LCHlch(23.86, 74.23, 304.83°)
OKLaboklab(36.22% 0.0275 -0.176)
OKLCHoklch(36.22% 0.178 278.9)
XYZxyz(7.4715, 4.0559, 29.6613)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322297 #879722
analogous
#224D97 #322297 #6D2297
triadic
#322297 #973222 #229732
tetradic
#322297 #97224D #879722 #22976D
square
#322297 #97224D #879722 #22976D
split-complementary
#322297 #976D22 #4D9722
monochromatic
#110C33 #211765 #322297 #432DC9 #6B5ADA

Accessibility & contrast

On white

11.59
#322297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#322297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322297
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322297#FFFFFF#000000##FFFFFF
##3222971.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322297;
/* rgb */ color: rgb(50, 34, 151);
/* oklch */ color: oklch(36.2% 0.178 278.9);
Tailwind
colors: {
  custom: {
    50: '#7960b7',
    500: '#322297',
    950: '#000000',
  },
}
SCSS
$custom: #322297;
$custom-light: #7960b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322297",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 248.205,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36223,
    "c": 0.1781,
    "h": 278.9
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#322297
secondary
#B0BE57
accent
#E642D0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322297

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

Preview Lab → · Contrast checker → · Palette generator →

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