#323EA1#323EA1

#323EA1 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.159 H 272.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#323EA1
RGBrgb(50, 62, 161)
HSLhsl(234, 53%, 41%)
HSVhsv(234, 69%, 63%)
CMYKcmyk(68.9%, 61.5%, 0%, 36.9%)
CIE-LABlab(31.10, 28.75, -55.14)
CIE-LCHlch(31.10, 62.19, 297.54°)
OKLaboklab(41.74% 0.0062 -0.159)
OKLCHoklch(41.74% 0.159 272.2)
XYZxyz(9.4689, 6.6957, 34.5047)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323EA1 #A19532
analogous
#3276A1 #323EA1 #5E32A1
triadic
#323EA1 #A1323E #3EA132
tetradic
#323EA1 #A13276 #A19532 #32A15E
square
#323EA1 #A13276 #A19532 #32A15E
split-complementary
#323EA1 #A15E32 #76A132
monochromatic
#151A44 #232C72 #323EA1 #4A57C7 #7882D5

Accessibility & contrast

On white

8.98
#323EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323EA1
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323EA1#FFFFFF#000000##FFFFFF
##323EA11.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00449F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323ea1;
/* rgb */ color: rgb(50, 62, 161);
/* oklch */ color: oklch(41.7% 0.159 272.2);
Tailwind
colors: {
  custom: {
    50: '#7873be',
    500: '#323ea1',
    950: '#000000',
  },
}
SCSS
$custom: #323ea1;
$custom-light: #7873be;
$custom-dark: #000000;
JSON
{
  "hex": "#323ea1",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 233.514,
    "s": 52.607,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.15911,
    "h": 272.2
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#323EA1
secondary
#BEB571
accent
#CC4CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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