#323EA4#323EA4

#323EA4 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.163 H 272.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#323EA4
RGBrgb(50, 62, 164)
HSLhsl(234, 53%, 42%)
HSVhsv(234, 70%, 64%)
CMYKcmyk(69.5%, 62.2%, 0%, 35.7%)
CIE-LABlab(31.35, 29.84, -56.54)
CIE-LCHlch(31.35, 63.93, 297.82°)
OKLaboklab(42.01% 0.0061 -0.1631)
OKLCHoklch(42.01% 0.163 272.1)
XYZxyz(9.7366, 6.8028, 35.9147)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323EA4 #A49832
analogous
#3277A4 #323EA4 #5F32A4
triadic
#323EA4 #A4323E #3EA432
tetradic
#323EA4 #A43277 #A49832 #32A45F
square
#323EA4 #A43277 #A49832 #32A45F
split-complementary
#323EA4 #A45F32 #77A432
monochromatic
#151B46 #242C75 #323EA4 #4B58C8 #7A84D6

Accessibility & contrast

On white

8.90
#323EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#323EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323EA4
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323EA4#FFFFFF#000000##FFFFFF
##323EA41.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0045A2
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323ea4;
/* rgb */ color: rgb(50, 62, 164);
/* oklch */ color: oklch(42.0% 0.163 272.1);
Tailwind
colors: {
  custom: {
    50: '#7973c0',
    500: '#323ea4',
    950: '#000000',
  },
}
SCSS
$custom: #323ea4;
$custom-light: #7973c0;
$custom-dark: #000000;
JSON
{
  "hex": "#323ea4",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 233.684,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42007,
    "c": 0.16322,
    "h": 272.1
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#323EA4
secondary
#BFB773
accent
#CD4BDD
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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