#322398#322398

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

Color values

HEX#322398
RGBrgb(50, 35, 152)
HSLhsl(248, 63%, 37%)
HSVhsv(248, 77%, 60%)
CMYKcmyk(67.1%, 77%, 0%, 40.4%)
CIE-LABlab(24.15, 42.18, -61.06)
CIE-LCHlch(24.15, 74.21, 304.63°)
OKLaboklab(36.46% 0.0267 -0.1763)
OKLCHoklch(36.46% 0.178 278.6)
XYZxyz(7.5821, 4.1465, 30.1005)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322398 #899823
analogous
#234F98 #322398 #6D2398
triadic
#322398 #983223 #239832
tetradic
#322398 #98234F #899823 #23986D
square
#322398 #98234F #899823 #23986D
split-complementary
#322398 #986D23 #4F9823
monochromatic
#110C35 #221866 #322398 #422ECA #6C5CD9

Accessibility & contrast

On white

11.48
#322398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322398
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322398#FFFFFF#000000##FFFFFF
##3223981.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322398;
/* rgb */ color: rgb(50, 35, 152);
/* oklch */ color: oklch(36.5% 0.178 278.6);
Tailwind
colors: {
  custom: {
    50: '#7961b7',
    500: '#322398',
    950: '#000000',
  },
}
SCSS
$custom: #322398;
$custom-light: #7961b7;
$custom-dark: #000000;
JSON
{
  "hex": "#322398",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 247.692,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36462,
    "c": 0.17835,
    "h": 278.6
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#322398
secondary
#B1BE59
accent
#E642D1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #322398

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

Preview Lab → · Contrast checker → · Palette generator →

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