#321CA7#321CA7

#321CA7 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.3% C 0.202 H 277.4°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#321CA7
RGBrgb(50, 28, 167)
HSLhsl(249, 71%, 38%)
HSVhsv(249, 83%, 65%)
CMYKcmyk(70.1%, 83.2%, 0%, 34.5%)
CIE-LABlab(24.63, 50.23, -69.41)
CIE-LCHlch(24.63, 85.68, 305.89°)
OKLaboklab(37.29% 0.0259 -0.2005)
OKLCHoklch(37.29% 0.202 277.4)
XYZxyz(8.7034, 4.2978, 36.9226)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321CA7 #91A71C
analogous
#1C4CA7 #321CA7 #771CA7
triadic
#321CA7 #A7321C #1CA732
tetradic
#321CA7 #A71C4C #91A71C #1CA777
square
#321CA7 #A71C4C #91A71C #1CA777
split-complementary
#321CA7 #A7771C #4CA71C
monochromatic
#130A3E #221373 #321CA7 #4226DB #705AE3

Accessibility & contrast

On white

11.29
#321CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#321CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321CA7
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321CA7#FFFFFF#000000##FFFFFF
##321CA71.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AB
Deuteranopia (green-blind)
#0035A5
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #321ca7;
/* rgb */ color: rgb(50, 28, 167);
/* oklch */ color: oklch(37.3% 0.202 277.4);
Tailwind
colors: {
  custom: {
    50: '#7d5ec3',
    500: '#321ca7',
    950: '#000000',
  },
}
SCSS
$custom: #321ca7;
$custom-light: #7d5ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#321ca7",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 249.496,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37289,
    "c": 0.2022,
    "h": 277.4
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#321CA7
secondary
#B5C758
accent
#EE3AD1
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #321CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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