#322298#322298

#322298 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.179 H 278.7°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#322298
RGBrgb(50, 34, 152)
HSLhsl(248, 63%, 36%)
HSVhsv(248, 78%, 60%)
CMYKcmyk(67.1%, 77.6%, 0%, 40.4%)
CIE-LABlab(23.96, 42.71, -61.37)
CIE-LCHlch(23.96, 74.77, 304.84°)
OKLaboklab(36.33% 0.0273 -0.1772)
OKLCHoklch(36.33% 0.179 278.7)
XYZxyz(7.5531, 4.0885, 30.0908)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322298 #889822
analogous
#224D98 #322298 #6D2298
triadic
#322298 #983222 #229832
tetradic
#322298 #98224D #889822 #22986D
square
#322298 #98224D #889822 #22986D
split-complementary
#322298 #986D22 #4D9822
monochromatic
#110C34 #221766 #322298 #422DCA #6C5ADA

Accessibility & contrast

On white

11.55
#322298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#322298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322298
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322298#FFFFFF#000000##FFFFFF
##3222981.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9B
Deuteranopia (green-blind)
#003496
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #322298;
/* rgb */ color: rgb(50, 34, 152);
/* oklch */ color: oklch(36.3% 0.179 278.7);
Tailwind
colors: {
  custom: {
    50: '#7960b8',
    500: '#322298',
    950: '#000000',
  },
}
SCSS
$custom: #322298;
$custom-light: #7960b8;
$custom-dark: #000000;
JSON
{
  "hex": "#322298",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 248.136,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36329,
    "c": 0.17932,
    "h": 278.7
  },
  "luminance": 0.04089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #322298

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

Preview Lab → · Contrast checker → · Palette generator →

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