#322872#322872

#322872 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.122 H 283.8°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#322872
RGBrgb(50, 40, 114)
HSLhsl(248, 48%, 30%)
HSVhsv(248, 65%, 45%)
CMYKcmyk(56.1%, 64.9%, 0%, 55.3%)
CIE-LABlab(21.62, 26.57, -41.35)
CIE-LCHlch(21.62, 49.15, 302.73°)
OKLaboklab(33.54% 0.0291 -0.1186)
OKLCHoklch(33.54% 0.122 283.8)
XYZxyz(5.1105, 3.4103, 16.3053)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322872 #687228
analogous
#284372 #322872 #572872
triadic
#322872 #723228 #287232
tetradic
#322872 #722843 #687228 #287257
square
#322872 #722843 #687228 #287257
split-complementary
#322872 #725728 #437228
monochromatic
#0A0817 #1E1845 #322872 #46389F #6152C2

Accessibility & contrast

On white

12.48
#322872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#322872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322872
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322872#FFFFFF#000000##FFFFFF
##3228721.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#173A49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322872;
/* rgb */ color: rgb(50, 40, 114);
/* oklch */ color: oklch(33.5% 0.122 283.8);
Tailwind
colors: {
  custom: {
    50: '#71629b',
    500: '#322872',
    950: '#000000',
  },
}
SCSS
$custom: #322872;
$custom-light: #71629b;
$custom-dark: #000000;
JSON
{
  "hex": "#322872",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 248.108,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33541,
    "c": 0.12215,
    "h": 283.8
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#322872
secondary
#99A452
accent
#D850C5
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322872

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

Preview Lab → · Contrast checker → · Palette generator →

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