#323FA7#323FA7

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

Color values

HEX#323FA7
RGBrgb(50, 63, 167)
HSLhsl(233, 54%, 43%)
HSVhsv(233, 70%, 65%)
CMYKcmyk(70.1%, 62.3%, 0%, 34.5%)
CIE-LABlab(31.86, 30.28, -57.52)
CIE-LCHlch(31.86, 65.01, 297.76°)
OKLaboklab(42.46% 0.0052 -0.166)
OKLCHoklch(42.46% 0.166 271.8)
XYZxyz(10.0656, 7.0222, 37.3767)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FA7 #A79A32
analogous
#327AA7 #323FA7 #5F32A7
triadic
#323FA7 #A7323F #3FA732
tetradic
#323FA7 #A7327A #A79A32 #32A75F
square
#323FA7 #A7327A #A79A32 #32A75F
split-complementary
#323FA7 #A75F32 #7AA732
monochromatic
#161B49 #242D78 #323FA7 #4D5ACA #7C86D8

Accessibility & contrast

On white

8.73
#323FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#323FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FA7
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FA7#FFFFFF#000000##FFFFFF
##323FA71.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #323fa7;
/* rgb */ color: rgb(50, 63, 167);
/* oklch */ color: oklch(42.5% 0.166 271.8);
Tailwind
colors: {
  custom: {
    50: '#7a74c2',
    500: '#323fa7',
    950: '#000000',
  },
}
SCSS
$custom: #323fa7;
$custom-light: #7a74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#323fa7",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 233.333,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42457,
    "c": 0.16606,
    "h": 271.8
  },
  "luminance": 0.07023
}

Semantic roles & 50–950 ramp

primary
#323FA7
secondary
#C0B874
accent
#CD4BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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