#322672#322672

#322672 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.125 H 284.5°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#322672
RGBrgb(50, 38, 114)
HSLhsl(249, 50%, 30%)
HSVhsv(249, 67%, 45%)
CMYKcmyk(56.1%, 66.7%, 0%, 55.3%)
CIE-LABlab(21.13, 27.87, -42.15)
CIE-LCHlch(21.13, 50.53, 303.48°)
OKLaboklab(33.18% 0.0313 -0.121)
OKLCHoklch(33.18% 0.125 284.5)
XYZxyz(5.0449, 3.2790, 16.2834)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322672 #667226
analogous
#264072 #322672 #582672
triadic
#322672 #723226 #267232
tetradic
#322672 #722640 #667226 #267258
square
#322672 #722640 #667226 #267258
split-complementary
#322672 #725826 #407226
monochromatic
#0A0817 #1E1744 #322672 #4635A0 #614EC4

Accessibility & contrast

On white

12.68
#322672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#322672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322672
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322672#FFFFFF#000000##FFFFFF
##3226721.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#173948
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #322672;
/* rgb */ color: rgb(50, 38, 114);
/* oklch */ color: oklch(33.2% 0.125 284.5);
Tailwind
colors: {
  custom: {
    50: '#71619b',
    500: '#322672',
    950: '#000000',
  },
}
SCSS
$custom: #322672;
$custom-light: #71619b;
$custom-dark: #000000;
JSON
{
  "hex": "#322672",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 114
  },
  "hsl": {
    "h": 249.474,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33185,
    "c": 0.12495,
    "h": 284.5
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#322672
secondary
#97A54F
accent
#DA4EC4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322672

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

Preview Lab → · Contrast checker → · Palette generator →

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