#323D8D#323D8D

#323D8D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.132 H 273.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#323D8D
RGBrgb(50, 61, 141)
HSLhsl(233, 48%, 37%)
HSVhsv(233, 65%, 55%)
CMYKcmyk(64.5%, 56.7%, 0%, 44.7%)
CIE-LABlab(29.26, 22.12, -45.94)
CIE-LCHlch(29.26, 50.99, 295.71°)
OKLaboklab(39.87% 0.0069 -0.132)
OKLCHoklch(39.87% 0.132 273)
XYZxyz(7.7903, 5.9380, 25.9298)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323D8D #8D8232
analogous
#326B8D #323D8D #54328D
triadic
#323D8D #8D323D #3D8D32
tetradic
#323D8D #8D326B #8D8232 #328D54
square
#323D8D #8D326B #8D8232 #328D54
split-complementary
#323D8D #8D5432 #6B8D32
monochromatic
#121633 #222960 #323D8D #4251BA #6E79CC

Accessibility & contrast

On white

9.60
#323D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#323D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323D8D
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323D8D#FFFFFF#000000##FFFFFF
##323D8D1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #323d8d;
/* rgb */ color: rgb(50, 61, 141);
/* oklch */ color: oklch(39.9% 0.132 273.0);
Tailwind
colors: {
  custom: {
    50: '#7472af',
    500: '#323d8d',
    950: '#000000',
  },
}
SCSS
$custom: #323d8d;
$custom-light: #7472af;
$custom-dark: #000000;
JSON
{
  "hex": "#323d8d",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 232.747,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39872,
    "c": 0.13214,
    "h": 273
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#323D8D
secondary
#B3AA68
accent
#C751D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #323D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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