#322671#322671

#322671 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.124 H 284.7°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#322671
RGBrgb(50, 38, 113)
HSLhsl(250, 50%, 30%)
HSVhsv(250, 66%, 44%)
CMYKcmyk(55.8%, 66.4%, 0%, 55.7%)
CIE-LABlab(21.04, 27.53, -41.64)
CIE-LCHlch(21.04, 49.92, 303.47°)
OKLaboklab(33.1% 0.0314 -0.1195)
OKLCHoklch(33.1% 0.124 284.7)
XYZxyz(4.9882, 3.2563, 15.9853)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322671 #657126
analogous
#264071 #322671 #582671
triadic
#322671 #713226 #267132
tetradic
#322671 #712640 #657126 #267158
square
#322671 #712640 #657126 #267158
split-complementary
#322671 #715826 #407126
monochromatic
#0A0817 #1E1743 #322671 #46359F #614EC3

Accessibility & contrast

On white

12.72
#322671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#322671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322671
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322671#FFFFFF#000000##FFFFFF
##3226711.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#183847
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #322671;
/* rgb */ color: rgb(50, 38, 113);
/* oklch */ color: oklch(33.1% 0.124 284.7);
Tailwind
colors: {
  custom: {
    50: '#71619a',
    500: '#322671',
    950: '#000000',
  },
}
SCSS
$custom: #322671;
$custom-light: #71619a;
$custom-dark: #000000;
JSON
{
  "hex": "#322671",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 249.6,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33096,
    "c": 0.12354,
    "h": 284.7
  },
  "luminance": 0.03257
}

Semantic roles & 50–950 ramp

primary
#322671
secondary
#96A44F
accent
#D94FC3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322671

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

Preview Lab → · Contrast checker → · Palette generator →

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