#323DB3#323DB3

#323DB3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.184 H 271.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#323DB3
RGBrgb(50, 61, 179)
HSLhsl(235, 56%, 45%)
HSVhsv(235, 72%, 70%)
CMYKcmyk(72.1%, 65.9%, 0%, 29.8%)
CIE-LABlab(32.41, 35.86, -63.78)
CIE-LCHlch(32.41, 73.17, 299.34°)
OKLaboklab(43.19% 0.006 -0.1843)
OKLCHoklch(43.19% 0.184 271.9)
XYZxyz(11.1181, 7.2692, 43.4562)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323DB3 #B3A832
analogous
#327DB3 #323DB3 #6832B3
triadic
#323DB3 #B3323D #3DB332
tetradic
#323DB3 #B3327D #B3A832 #32B368
square
#323DB3 #B3327D #B3A832 #32B368
split-complementary
#323DB3 #B36832 #7DB332
monochromatic
#171C53 #252D83 #323DB3 #535ECF #838BDC

Accessibility & contrast

On white

8.56
#323DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323DB3
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323DB3#FFFFFF#000000##FFFFFF
##323DB31.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323db3;
/* rgb */ color: rgb(50, 61, 179);
/* oklch */ color: oklch(43.2% 0.184 271.9);
Tailwind
colors: {
  custom: {
    50: '#7c73cb',
    500: '#323db3',
    950: '#000000',
  },
}
SCSS
$custom: #323db3;
$custom-light: #7c73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#323db3",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 234.884,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43186,
    "c": 0.18444,
    "h": 271.9
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#323DB3
secondary
#C6BF7B
accent
#D348E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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