#323CA7#323CA7

#323CA7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.170 H 272.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#323CA7
RGBrgb(50, 60, 167)
HSLhsl(235, 54%, 43%)
HSVhsv(235, 70%, 65%)
CMYKcmyk(70.1%, 64.1%, 0%, 34.5%)
CIE-LABlab(31.11, 32.22, -58.74)
CIE-LCHlch(31.11, 67.00, 298.74°)
OKLaboklab(41.91% 0.0075 -0.1696)
OKLCHoklch(41.91% 0.17 272.5)
XYZxyz(9.9040, 6.6989, 37.3228)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CA7 #A79D32
analogous
#3276A7 #323CA7 #6332A7
triadic
#323CA7 #A7323C #3CA732
tetradic
#323CA7 #A73276 #A79D32 #32A763
square
#323CA7 #A73276 #A79D32 #32A763
split-complementary
#323CA7 #A76332 #76A732
monochromatic
#161A49 #242B78 #323CA7 #4D57CA #7C84D8

Accessibility & contrast

On white

8.97
#323CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#323CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323CA7
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CA7#FFFFFF#000000##FFFFFF
##323CA71.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323ca7;
/* rgb */ color: rgb(50, 60, 167);
/* oklch */ color: oklch(41.9% 0.170 272.5);
Tailwind
colors: {
  custom: {
    50: '#7a72c2',
    500: '#323ca7',
    950: '#000000',
  },
}
SCSS
$custom: #323ca7;
$custom-light: #7a72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#323ca7",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 234.872,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41908,
    "c": 0.16974,
    "h": 272.5
  },
  "luminance": 0.067
}

Semantic roles & 50–950 ramp

primary
#323CA7
secondary
#C0BA74
accent
#D14BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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