#323D9A#323D9A

#323D9A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.151 H 272.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#323D9A
RGBrgb(50, 61, 154)
HSLhsl(234, 51%, 40%)
HSVhsv(234, 68%, 60%)
CMYKcmyk(67.5%, 60.4%, 0%, 39.6%)
CIE-LABlab(30.27, 26.87, -52.25)
CIE-LCHlch(30.27, 58.75, 297.21°)
OKLaboklab(40.95% 0.0071 -0.1505)
OKLCHoklch(40.95% 0.151 272.7)
XYZxyz(8.8149, 6.3479, 31.3263)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323D9A #9A8F32
analogous
#32719A #323D9A #5B329A
triadic
#323D9A #9A323D #3D9A32
tetradic
#323D9A #9A3271 #9A8F32 #329A5B
square
#323D9A #9A3271 #9A8F32 #329A5B
split-complementary
#323D9A #9A5B32 #719A32
monochromatic
#14183E #232B6C #323D9A #4653C3 #747ED2

Accessibility & contrast

On white

9.25
#323D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#323D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323D9A
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323D9A#FFFFFF#000000##FFFFFF
##323D9A1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #323d9a;
/* rgb */ color: rgb(50, 61, 154);
/* oklch */ color: oklch(41.0% 0.151 272.7);
Tailwind
colors: {
  custom: {
    50: '#7772b9',
    500: '#323d9a',
    950: '#000000',
  },
}
SCSS
$custom: #323d9a;
$custom-light: #7772b9;
$custom-dark: #000000;
JSON
{
  "hex": "#323d9a",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 154
  },
  "hsl": {
    "h": 233.654,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.40951,
    "c": 0.15068,
    "h": 272.7
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#323D9A
secondary
#BAB26E
accent
#CC4DDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #323D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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