#323CA6#323CA6

#323CA6 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.168 H 272.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#323CA6
RGBrgb(50, 60, 166)
HSLhsl(235, 54%, 42%)
HSVhsv(235, 70%, 65%)
CMYKcmyk(69.9%, 63.9%, 0%, 34.9%)
CIE-LABlab(31.02, 31.86, -58.28)
CIE-LCHlch(31.02, 66.42, 298.66°)
OKLaboklab(41.82% 0.0075 -0.1682)
OKLCHoklch(41.82% 0.168 272.6)
XYZxyz(9.8119, 6.6621, 36.8378)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CA6 #A69C32
analogous
#3276A6 #323CA6 #6232A6
triadic
#323CA6 #A6323C #3CA632
tetradic
#323CA6 #A63276 #A69C32 #32A662
square
#323CA6 #A63276 #A69C32 #32A662
split-complementary
#323CA6 #A66232 #76A632
monochromatic
#161A48 #242B77 #323CA6 #4C57C9 #7B83D7

Accessibility & contrast

On white

9.00
#323CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#323CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323CA6
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CA6#FFFFFF#000000##FFFFFF
##323CA61.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323ca6;
/* rgb */ color: rgb(50, 60, 166);
/* oklch */ color: oklch(41.8% 0.168 272.6);
Tailwind
colors: {
  custom: {
    50: '#7a72c1',
    500: '#323ca6',
    950: '#000000',
  },
}
SCSS
$custom: #323ca6;
$custom-light: #7a72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#323ca6",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 234.828,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41817,
    "c": 0.1684,
    "h": 272.6
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#323CA6
secondary
#C0B974
accent
#D04BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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