#323A9D#323A9D

#323A9D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.159 H 273.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#323A9D
RGBrgb(50, 58, 157)
HSLhsl(236, 52%, 41%)
HSVhsv(236, 68%, 62%)
CMYKcmyk(68.2%, 63.1%, 0%, 38.4%)
CIE-LABlab(29.76, 29.92, -54.92)
CIE-LCHlch(29.76, 62.54, 298.59°)
OKLaboklab(40.65% 0.0095 -0.1584)
OKLCHoklch(40.65% 0.159 273.4)
XYZxyz(8.9122, 6.1377, 32.6068)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323A9D #9D9532
analogous
#326F9D #323A9D #5F329D
triadic
#323A9D #9D323A #3A9D32
tetradic
#323A9D #9D326F #9D9532 #329D5F
square
#323A9D #9D326F #9D9532 #329D5F
split-complementary
#323A9D #9D5F32 #6F9D32
monochromatic
#141840 #23296F #323A9D #4851C5 #767DD3

Accessibility & contrast

On white

9.43
#323A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#323A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323A9D
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323A9D#FFFFFF#000000##FFFFFF
##323A9D1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #323a9d;
/* rgb */ color: rgb(50, 58, 157);
/* oklch */ color: oklch(40.6% 0.159 273.4);
Tailwind
colors: {
  custom: {
    50: '#7870bb',
    500: '#323a9d',
    950: '#000000',
  },
}
SCSS
$custom: #323a9d;
$custom-light: #7870bb;
$custom-dark: #000000;
JSON
{
  "hex": "#323a9d",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 235.514,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40647,
    "c": 0.15866,
    "h": 273.4
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#323A9D
secondary
#BCB66F
accent
#D04DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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