#323D95#323D95

#323D95 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.144 H 272.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#323D95
RGBrgb(50, 61, 149)
HSLhsl(233, 50%, 39%)
HSVhsv(233, 66%, 58%)
CMYKcmyk(66.4%, 59.1%, 0%, 41.6%)
CIE-LABlab(29.87, 25.05, -49.85)
CIE-LCHlch(29.87, 55.79, 296.68°)
OKLaboklab(40.53% 0.0071 -0.1435)
OKLCHoklch(40.53% 0.144 272.8)
XYZxyz(8.4071, 6.1848, 29.1787)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323D95 #958A32
analogous
#326F95 #323D95 #593295
triadic
#323D95 #95323D #3D9532
tetradic
#323D95 #95326F #958A32 #329559
square
#323D95 #95326F #958A32 #329559
split-complementary
#323D95 #955932 #6F9532
monochromatic
#131739 #232A67 #323D95 #4452C0 #727CD0

Accessibility & contrast

On white

9.39
#323D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#323D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323D95
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323D95#FFFFFF#000000##FFFFFF
##323D951.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #323d95;
/* rgb */ color: rgb(50, 61, 149);
/* oklch */ color: oklch(40.5% 0.144 272.8);
Tailwind
colors: {
  custom: {
    50: '#7672b5',
    500: '#323d95',
    950: '#000000',
  },
}
SCSS
$custom: #323d95;
$custom-light: #7672b5;
$custom-dark: #000000;
JSON
{
  "hex": "#323d95",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 233.333,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40528,
    "c": 0.14363,
    "h": 272.8
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

primary
#323D95
secondary
#B8AF6B
accent
#CA4FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #323D95

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

Preview Lab → · Contrast checker → · Palette generator →

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