#321E9A#321E9A

#321E9A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.185 H 279.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#321E9A
RGBrgb(50, 30, 154)
HSLhsl(250, 67%, 36%)
HSVhsv(250, 81%, 60%)
CMYKcmyk(67.5%, 80.5%, 0%, 39.6%)
CIE-LABlab(23.47, 45.38, -63.42)
CIE-LCHlch(23.47, 77.98, 305.59°)
OKLaboklab(36.05% 0.0289 -0.1831)
OKLCHoklch(36.05% 0.185 279)
XYZxyz(7.6105, 3.9391, 30.9248)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321E9A #869A1E
analogous
#1E489A #321E9A #701E9A
triadic
#321E9A #9A321E #1E9A32
tetradic
#321E9A #9A1E48 #869A1E #1E9A70
square
#321E9A #9A1E48 #869A1E #1E9A70
split-complementary
#321E9A #9A701E #489A1E
monochromatic
#110A34 #211467 #321E9A #4328CD #6B55DE

Accessibility & contrast

On white

11.74
#321E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#321E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321E9A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321E9A#FFFFFF#000000##FFFFFF
##321E9A1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #321e9a;
/* rgb */ color: rgb(50, 30, 154);
/* oklch */ color: oklch(36.0% 0.185 279.0);
Tailwind
colors: {
  custom: {
    50: '#7a5eb9',
    500: '#321e9a',
    950: '#000000',
  },
}
SCSS
$custom: #321e9a;
$custom-light: #7a5eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#321e9a",
  "rgb": {
    "r": 50,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 249.677,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3605,
    "c": 0.18541,
    "h": 279
  },
  "luminance": 0.0394
}

Semantic roles & 50–950 ramp

primary
#321E9A
secondary
#AFC153
accent
#EA3ECE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #321E9A

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

Preview Lab → · Contrast checker → · Palette generator →

#321E9A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva