#321AC9#321AC9

#321AC9 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 41.1% C 0.241 H 273.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#321AC9
RGBrgb(50, 26, 201)
HSLhsl(248, 77%, 45%)
HSVhsv(248, 87%, 79%)
CMYKcmyk(75.1%, 87.1%, 0%, 21.2%)
CIE-LABlab(28.47, 60.72, -83.28)
CIE-LCHlch(28.47, 103.06, 306.10°)
OKLaboklab(41.09% 0.016 -0.2407)
OKLCHoklch(41.09% 0.241 273.8)
XYZxyz(12.2239, 5.6327, 55.6900)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321AC9 #B1C91A
analogous
#1A59C9 #321AC9 #8A1AC9
triadic
#321AC9 #C9321A #1AC932
tetradic
#321AC9 #C91A59 #B1C91A #1AC98A
square
#321AC9 #C91A59 #B1C91A #1AC98A
split-complementary
#321AC9 #C98A1A #59C91A
monochromatic
#170C5D #251393 #321AC9 #523BE6 #8271ED

Accessibility & contrast

On white

9.87
#321AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#321AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321AC9
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321AC9#FFFFFF#000000##FFFFFF
##321AC91.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BCD
Deuteranopia (green-blind)
#003BC6
Tritanopia (blue-blind)
#005677
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #321ac9;
/* rgb */ color: rgb(50, 26, 201);
/* oklch */ color: oklch(41.1% 0.241 273.8);
Tailwind
colors: {
  custom: {
    50: '#8460db',
    500: '#321ac9',
    950: '#000000',
  },
}
SCSS
$custom: #321ac9;
$custom-light: #8460db;
$custom-dark: #000000;
JSON
{
  "hex": "#321ac9",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 201
  },
  "hsl": {
    "h": 248.229,
    "s": 77.093,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41087,
    "c": 0.24122,
    "h": 273.8
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

primary
#321AC9
secondary
#C5D36C
accent
#F434D9
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #321AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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