#323EA7#323EA7

#323EA7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.167 H 272.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#323EA7
RGBrgb(50, 62, 167)
HSLhsl(234, 54%, 43%)
HSVhsv(234, 70%, 65%)
CMYKcmyk(70.1%, 62.9%, 0%, 34.5%)
CIE-LABlab(31.61, 30.93, -57.93)
CIE-LCHlch(31.61, 65.67, 298.09°)
OKLaboklab(42.27% 0.006 -0.1672)
OKLCHoklch(42.27% 0.167 272)
XYZxyz(10.0107, 6.9124, 37.3584)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323EA7 #A79B32
analogous
#3279A7 #323EA7 #6032A7
triadic
#323EA7 #A7323E #3EA732
tetradic
#323EA7 #A73279 #A79B32 #32A760
square
#323EA7 #A73279 #A79B32 #32A760
split-complementary
#323EA7 #A76032 #79A732
monochromatic
#161B49 #242D78 #323EA7 #4D59CA #7C85D8

Accessibility & contrast

On white

8.81
#323EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#323EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323EA7
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323EA7#FFFFFF#000000##FFFFFF
##323EA71.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323ea7;
/* rgb */ color: rgb(50, 62, 167);
/* oklch */ color: oklch(42.3% 0.167 272.0);
Tailwind
colors: {
  custom: {
    50: '#7a73c2',
    500: '#323ea7',
    950: '#000000',
  },
}
SCSS
$custom: #323ea7;
$custom-light: #7a73c2;
$custom-dark: #000000;
JSON
{
  "hex": "#323ea7",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 233.846,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42272,
    "c": 0.1673,
    "h": 272
  },
  "luminance": 0.06913
}

Semantic roles & 50–950 ramp

primary
#323EA7
secondary
#C0B974
accent
#CE4BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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