#323EA8#323EA8

#323EA8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.169 H 272.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#323EA8
RGBrgb(50, 62, 168)
HSLhsl(234, 54%, 43%)
HSVhsv(234, 70%, 66%)
CMYKcmyk(70.2%, 63.1%, 0%, 34.1%)
CIE-LABlab(31.69, 31.29, -58.40)
CIE-LCHlch(31.69, 66.25, 298.18°)
OKLaboklab(42.36% 0.0059 -0.1685)
OKLCHoklch(42.36% 0.169 272)
XYZxyz(10.1035, 6.9495, 37.8471)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323EA8 #A89C32
analogous
#3279A8 #323EA8 #6132A8
triadic
#323EA8 #A8323E #3EA832
tetradic
#323EA8 #A83279 #A89C32 #32A861
square
#323EA8 #A83279 #A89C32 #32A861
split-complementary
#323EA8 #A86132 #79A832
monochromatic
#161B4A #242D79 #323EA8 #4D5ACA #7C86D8

Accessibility & contrast

On white

8.79
#323EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#323EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323EA8
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323EA8#FFFFFF#000000##FFFFFF
##323EA81.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #323ea8;
/* rgb */ color: rgb(50, 62, 168);
/* oklch */ color: oklch(42.4% 0.169 272.0);
Tailwind
colors: {
  custom: {
    50: '#7a73c3',
    500: '#323ea8',
    950: '#000000',
  },
}
SCSS
$custom: #323ea8;
$custom-light: #7a73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#323ea8",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 233.898,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42361,
    "c": 0.16865,
    "h": 272
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#323EA8
secondary
#C1B975
accent
#CF4ADD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #323EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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