#323DB2#323DB2

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

Color values

HEX#323DB2
RGBrgb(50, 61, 178)
HSLhsl(235, 56%, 45%)
HSVhsv(235, 72%, 70%)
CMYKcmyk(71.9%, 65.7%, 0%, 30.2%)
CIE-LABlab(32.32, 35.50, -63.34)
CIE-LCHlch(32.32, 72.61, 299.27°)
OKLaboklab(43.09% 0.006 -0.183)
OKLCHoklch(43.09% 0.183 271.9)
XYZxyz(11.0173, 7.2288, 42.9255)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323DB2 #B2A732
analogous
#327DB2 #323DB2 #6732B2
triadic
#323DB2 #B2323D #3DB232
tetradic
#323DB2 #B2327D #B2A732 #32B267
square
#323DB2 #B2327D #B2A732 #32B267
split-complementary
#323DB2 #B26732 #7DB232
monochromatic
#171C52 #252D82 #323DB2 #535DCF #828ADC

Accessibility & contrast

On white

8.59
#323DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#323DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323DB2
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323DB2#FFFFFF#000000##FFFFFF
##323DB21.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #323db2;
/* rgb */ color: rgb(50, 61, 178);
/* oklch */ color: oklch(43.1% 0.183 271.9);
Tailwind
colors: {
  custom: {
    50: '#7c72ca',
    500: '#323db2',
    950: '#000000',
  },
}
SCSS
$custom: #323db2;
$custom-light: #7c72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#323db2",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 234.844,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43093,
    "c": 0.18313,
    "h": 271.9
  },
  "luminance": 0.0723
}

Semantic roles & 50–950 ramp

primary
#323DB2
secondary
#C5BF7B
accent
#D248DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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