#321DB3#321DB3

#321DB3 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.8% C 0.215 H 275.8°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#321DB3
RGBrgb(50, 29, 179)
HSLhsl(248, 72%, 41%)
HSVhsv(248, 84%, 70%)
CMYKcmyk(72.1%, 83.8%, 0%, 29.8%)
CIE-LABlab(26.19, 53.32, -74.05)
CIE-LCHlch(26.19, 91.25, 305.76°)
OKLaboklab(38.77% 0.0219 -0.214)
OKLCHoklch(38.77% 0.215 275.8)
XYZxyz(9.8888, 4.8106, 43.0465)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321DB3 #9EB31D
analogous
#1D53B3 #321DB3 #7D1DB3
triadic
#321DB3 #B3321D #1DB332
tetradic
#321DB3 #B31D53 #9EB31D #1DB37D
square
#321DB3 #B31D53 #9EB31D #1DB37D
split-complementary
#321DB3 #B37D1D #53B31D
monochromatic
#150C4A #23147E #321DB3 #4830DD #7764E6

Accessibility & contrast

On white

10.70
#321DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#321DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321DB3
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321DB3#FFFFFF#000000##FFFFFF
##321DB31.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0037B1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #321db3;
/* rgb */ color: rgb(50, 29, 179);
/* oklch */ color: oklch(38.8% 0.215 275.8);
Tailwind
colors: {
  custom: {
    50: '#7f5fcb',
    500: '#321db3',
    950: '#000000',
  },
}
SCSS
$custom: #321db3;
$custom-light: #7f5fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#321db3",
  "rgb": {
    "r": 50,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 248.4,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38767,
    "c": 0.21512,
    "h": 275.8
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#321DB3
secondary
#BCCB61
accent
#EF39D5
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #321DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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