#322296#322296

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

Color values

HEX#322296
RGBrgb(50, 34, 150)
HSLhsl(248, 63%, 36%)
HSVhsv(248, 77%, 59%)
CMYKcmyk(66.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(23.75, 42.08, -60.49)
CIE-LCHlch(23.75, 73.69, 304.82°)
OKLaboklab(36.12% 0.0278 -0.1747)
OKLCHoklch(36.12% 0.177 279)
XYZxyz(7.3907, 4.0236, 29.2354)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322296 #869622
analogous
#224C96 #322296 #6C2296
triadic
#322296 #963222 #229632
tetradic
#322296 #96224C #869622 #22966C
square
#322296 #96224C #869622 #22966C
split-complementary
#322296 #966C22 #4C9622
monochromatic
#110B32 #211764 #322296 #432DC8 #6B59D9

Accessibility & contrast

On white

11.64
#322296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322296
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322296#FFFFFF#000000##FFFFFF
##3222961.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322296;
/* rgb */ color: rgb(50, 34, 150);
/* oklch */ color: oklch(36.1% 0.177 279.0);
Tailwind
colors: {
  custom: {
    50: '#7860b6',
    500: '#322296',
    950: '#000000',
  },
}
SCSS
$custom: #322296;
$custom-light: #7860b6;
$custom-dark: #000000;
JSON
{
  "hex": "#322296",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 248.276,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36117,
    "c": 0.17687,
    "h": 279
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#322296
secondary
#AFBE56
accent
#E642CF
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322296

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

Preview Lab → · Contrast checker → · Palette generator →

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