#323FA8#323FA8

#323FA8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.167 H 271.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#323FA8
RGBrgb(50, 63, 168)
HSLhsl(233, 54%, 43%)
HSVhsv(233, 70%, 66%)
CMYKcmyk(70.2%, 62.5%, 0%, 34.1%)
CIE-LABlab(31.94, 30.64, -57.99)
CIE-LCHlch(31.94, 65.58, 297.85°)
OKLaboklab(42.55% 0.0052 -0.1673)
OKLCHoklch(42.55% 0.167 271.8)
XYZxyz(10.1584, 7.0593, 37.8654)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FA8 #A89B32
analogous
#327AA8 #323FA8 #6032A8
triadic
#323FA8 #A8323F #3FA832
tetradic
#323FA8 #A8327A #A89B32 #32A860
square
#323FA8 #A8327A #A89B32 #32A860
split-complementary
#323FA8 #A86032 #7AA832
monochromatic
#161C4A #242D79 #323FA8 #4D5BCA #7C86D8

Accessibility & contrast

On white

8.71
#323FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323FA8
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FA8#FFFFFF#000000##FFFFFF
##323FA81.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #323fa8;
/* rgb */ color: rgb(50, 63, 168);
/* oklch */ color: oklch(42.5% 0.167 271.8);
Tailwind
colors: {
  custom: {
    50: '#7a74c3',
    500: '#323fa8',
    950: '#000000',
  },
}
SCSS
$custom: #323fa8;
$custom-light: #7a74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#323fa8",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 233.39,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42545,
    "c": 0.16742,
    "h": 271.8
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#323FA8
secondary
#C1B875
accent
#CD4ADD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #323FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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