#321AD2#321AD2

#321AD2 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 42.2% C 0.251 H 273.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#321AD2
RGBrgb(50, 26, 210)
HSLhsl(248, 78%, 46%)
HSVhsv(248, 88%, 82%)
CMYKcmyk(76.2%, 87.6%, 0%, 17.6%)
CIE-LABlab(29.58, 63.19, -86.67)
CIE-LCHlch(29.58, 107.25, 306.09°)
OKLaboklab(42.16% 0.0134 -0.2505)
OKLCHoklch(42.16% 0.251 273.1)
XYZxyz(13.3138, 6.0686, 61.4300)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321AD2 #BAD21A
analogous
#1A5ED2 #321AD2 #8E1AD2
triadic
#321AD2 #D2321A #1AD232
tetradic
#321AD2 #D21A5E #BAD21A #1AD28E
square
#321AD2 #D21A5E #BAD21A #1AD28E
split-complementary
#321AD2 #D28E1A #5ED21A
monochromatic
#180D65 #25139C #321AD2 #5742E8 #8878EE

Accessibility & contrast

On white

9.49
#321AD2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#321AD2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321AD2
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321AD2#FFFFFF#000000##FFFFFF
##321AD21.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ED7
Deuteranopia (green-blind)
#003DCF
Tritanopia (blue-blind)
#005A7C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #321ad2;
/* rgb */ color: rgb(50, 26, 210);
/* oklch */ color: oklch(42.2% 0.251 273.1);
Tailwind
colors: {
  custom: {
    50: '#8661e2',
    500: '#321ad2',
    950: '#000000',
  },
}
SCSS
$custom: #321ad2;
$custom-light: #8661e2;
$custom-dark: #000000;
JSON
{
  "hex": "#321ad2",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 210
  },
  "hsl": {
    "h": 247.826,
    "s": 77.966,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42163,
    "c": 0.25085,
    "h": 273.1
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#321AD2
secondary
#C9D672
accent
#F433DB
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0D0516
muted
#7E7A84

Preview Lab

Preview with #321AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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