#323EAB#323EAB

#323EAB is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.173 H 271.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#323EAB
RGBrgb(50, 62, 171)
HSLhsl(234, 55%, 43%)
HSVhsv(234, 71%, 67%)
CMYKcmyk(70.8%, 63.7%, 0%, 32.9%)
CIE-LABlab(31.95, 32.37, -59.77)
CIE-LCHlch(31.95, 67.97, 298.44°)
OKLaboklab(42.63% 0.0058 -0.1726)
OKLCHoklch(42.63% 0.173 271.9)
XYZxyz(10.3862, 7.0626, 39.3360)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323EAB #AB9F32
analogous
#327AAB #323EAB #6332AB
triadic
#323EAB #AB323E #3EAB32
tetradic
#323EAB #AB327A #AB9F32 #32AB63
square
#323EAB #AB327A #AB9F32 #32AB63
split-complementary
#323EAB #AB6332 #7AAB32
monochromatic
#161C4C #242D7C #323EAB #4F5BCB #7E87D9

Accessibility & contrast

On white

8.70
#323EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#323EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323EAB
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323EAB#FFFFFF#000000##FFFFFF
##323EAB1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #323eab;
/* rgb */ color: rgb(50, 62, 171);
/* oklch */ color: oklch(42.6% 0.173 271.9);
Tailwind
colors: {
  custom: {
    50: '#7a73c5',
    500: '#323eab',
    950: '#000000',
  },
}
SCSS
$custom: #323eab;
$custom-light: #7a73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#323eab",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 171
  },
  "hsl": {
    "h": 234.05,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4263,
    "c": 0.17268,
    "h": 271.9
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#323EAB
secondary
#C2BB77
accent
#CF4ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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