#321EA9#321EA9

#321EA9 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.203 H 276.9°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#321EA9
RGBrgb(50, 30, 169)
HSLhsl(249, 70%, 39%)
HSVhsv(249, 82%, 66%)
CMYKcmyk(70.4%, 82.2%, 0%, 33.7%)
CIE-LABlab(25.17, 49.93, -69.73)
CIE-LCHlch(25.17, 85.76, 305.60°)
OKLaboklab(37.73% 0.0245 -0.2015)
OKLCHoklch(37.73% 0.203 276.9)
XYZxyz(8.9388, 4.4704, 37.9202)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321EA9 #95A91E
analogous
#1E50A9 #321EA9 #781EA9
triadic
#321EA9 #A9321E #1EA932
tetradic
#321EA9 #A91E50 #95A91E #1EA978
square
#321EA9 #A91E50 #95A91E #1EA978
split-complementary
#321EA9 #A9781E #50A91E
monochromatic
#130C41 #231575 #321EA9 #442BD9 #725FE3

Accessibility & contrast

On white

11.09
#321EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#321EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321EA9
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321EA9#FFFFFF#000000##FFFFFF
##321EA91.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AD
Deuteranopia (green-blind)
#0036A7
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #321ea9;
/* rgb */ color: rgb(50, 30, 169);
/* oklch */ color: oklch(37.7% 0.203 276.9);
Tailwind
colors: {
  custom: {
    50: '#7d5fc4',
    500: '#321ea9',
    950: '#000000',
  },
}
SCSS
$custom: #321ea9;
$custom-light: #7d5fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#321ea9",
  "rgb": {
    "r": 50,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 248.633,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37726,
    "c": 0.20298,
    "h": 276.9
  },
  "luminance": 0.04471
}

Semantic roles & 50–950 ramp

primary
#321EA9
secondary
#B8C75C
accent
#ED3BD3
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #321EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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