#322873#322873

#322873 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.124 H 283.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#322873
RGBrgb(50, 40, 115)
HSLhsl(248, 48%, 30%)
HSVhsv(248, 65%, 45%)
CMYKcmyk(56.5%, 65.2%, 0%, 54.9%)
CIE-LABlab(21.70, 26.91, -41.85)
CIE-LCHlch(21.70, 49.76, 302.74°)
OKLaboklab(33.63% 0.029 -0.1201)
OKLCHoklch(33.63% 0.124 283.6)
XYZxyz(5.1678, 3.4332, 16.6067)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322873 #697328
analogous
#284373 #322873 #572873
triadic
#322873 #733228 #287332
tetradic
#322873 #732843 #697328 #287357
square
#322873 #732843 #697328 #287357
split-complementary
#322873 #735728 #437328
monochromatic
#0B0818 #1E1846 #322873 #4638A0 #6152C3

Accessibility & contrast

On white

12.45
#322873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#322873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322873
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322873#FFFFFF#000000##FFFFFF
##3228731.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#163A49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322873;
/* rgb */ color: rgb(50, 40, 115);
/* oklch */ color: oklch(33.6% 0.124 283.6);
Tailwind
colors: {
  custom: {
    50: '#71629c',
    500: '#322873',
    950: '#000000',
  },
}
SCSS
$custom: #322873;
$custom-light: #71629c;
$custom-dark: #000000;
JSON
{
  "hex": "#322873",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 248,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33629,
    "c": 0.12357,
    "h": 283.6
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#322873
secondary
#9AA552
accent
#D850C6
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322873

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

Preview Lab → · Contrast checker → · Palette generator →

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