#323DB8#323DB8

#323DB8 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.191 H 271.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#323DB8
RGBrgb(50, 61, 184)
HSLhsl(235, 57%, 46%)
HSVhsv(235, 73%, 72%)
CMYKcmyk(72.8%, 66.8%, 0%, 27.8%)
CIE-LABlab(32.86, 37.62, -66.00)
CIE-LCHlch(32.86, 75.97, 299.68°)
OKLaboklab(43.65% 0.0056 -0.1908)
OKLCHoklch(43.65% 0.191 271.7)
XYZxyz(11.6329, 7.4751, 46.1679)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323DB8 #B8AD32
analogous
#3280B8 #323DB8 #6A32B8
triadic
#323DB8 #B8323D #3DB832
tetradic
#323DB8 #B83280 #B8AD32 #32B86A
square
#323DB8 #B83280 #B8AD32 #32B86A
split-complementary
#323DB8 #B86A32 #80B832
monochromatic
#181D58 #252D88 #323DB8 #5660D1 #868DDE

Accessibility & contrast

On white

8.42
#323DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#323DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323DB8
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323DB8#FFFFFF#000000##FFFFFF
##323DB81.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #323db8;
/* rgb */ color: rgb(50, 61, 184);
/* oklch */ color: oklch(43.7% 0.191 271.7);
Tailwind
colors: {
  custom: {
    50: '#7e73ce',
    500: '#323db8',
    950: '#000000',
  },
}
SCSS
$custom: #323db8;
$custom-light: #7e73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#323db8",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 235.075,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43654,
    "c": 0.19092,
    "h": 271.7
  },
  "luminance": 0.07476
}

Semantic roles & 50–950 ramp

primary
#323DB8
secondary
#C8C27E
accent
#D447E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #323DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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