#323DB1#323DB1

#323DB1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.182 H 271.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#323DB1
RGBrgb(50, 61, 177)
HSLhsl(235, 56%, 45%)
HSVhsv(235, 72%, 69%)
CMYKcmyk(71.8%, 65.5%, 0%, 30.6%)
CIE-LABlab(32.23, 35.15, -62.89)
CIE-LCHlch(32.23, 72.04, 299.20°)
OKLaboklab(43% 0.0061 -0.1817)
OKLCHoklch(43% 0.182 271.9)
XYZxyz(10.9173, 7.1888, 42.3987)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323DB1 #B1A632
analogous
#327DB1 #323DB1 #6732B1
triadic
#323DB1 #B1323D #3DB132
tetradic
#323DB1 #B1327D #B1A632 #32B167
square
#323DB1 #B1327D #B1A632 #32B167
split-complementary
#323DB1 #B16732 #7DB132
monochromatic
#171C52 #252D81 #323DB1 #525DCE #828ADC

Accessibility & contrast

On white

8.61
#323DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#323DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323DB1
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323DB1#FFFFFF#000000##FFFFFF
##323DB11.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #323db1;
/* rgb */ color: rgb(50, 61, 177);
/* oklch */ color: oklch(43.0% 0.182 271.9);
Tailwind
colors: {
  custom: {
    50: '#7c72c9',
    500: '#323db1',
    950: '#000000',
  },
}
SCSS
$custom: #323db1;
$custom-light: #7c72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#323db1",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 234.803,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43,
    "c": 0.18182,
    "h": 271.9
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#323DB1
secondary
#C5BE7A
accent
#D249DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323DB1

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

Preview Lab → · Contrast checker → · Palette generator →

#323DB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva