#323D9D#323D9D

#323D9D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.155 H 272.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#323D9D
RGBrgb(50, 61, 157)
HSLhsl(234, 52%, 41%)
HSVhsv(234, 68%, 62%)
CMYKcmyk(68.2%, 61.1%, 0%, 38.4%)
CIE-LABlab(30.52, 27.96, -53.67)
CIE-LCHlch(30.52, 60.52, 297.51°)
OKLaboklab(41.21% 0.0071 -0.1547)
OKLCHoklch(41.21% 0.155 272.6)
XYZxyz(9.0679, 6.4491, 32.6587)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323D9D #9D9232
analogous
#32729D #323D9D #5C329D
triadic
#323D9D #9D323D #3D9D32
tetradic
#323D9D #9D3272 #9D9232 #329D5C
square
#323D9D #9D3272 #9D9232 #329D5C
split-complementary
#323D9D #9D5C32 #729D32
monochromatic
#141940 #232B6F #323D9D #4854C5 #7680D3

Accessibility & contrast

On white

9.17
#323D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#323D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323D9D
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323D9D#FFFFFF#000000##FFFFFF
##323D9D1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323d9d;
/* rgb */ color: rgb(50, 61, 157);
/* oklch */ color: oklch(41.2% 0.155 272.6);
Tailwind
colors: {
  custom: {
    50: '#7772bb',
    500: '#323d9d',
    950: '#000000',
  },
}
SCSS
$custom: #323d9d;
$custom-light: #7772bb;
$custom-dark: #000000;
JSON
{
  "hex": "#323d9d",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 233.832,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41208,
    "c": 0.15486,
    "h": 272.6
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#323D9D
secondary
#BCB46F
accent
#CC4DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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