#323EA9#323EA9

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

Color values

HEX#323EA9
RGBrgb(50, 62, 169)
HSLhsl(234, 54%, 43%)
HSVhsv(234, 70%, 66%)
CMYKcmyk(70.4%, 63.3%, 0%, 33.7%)
CIE-LABlab(31.78, 31.65, -58.86)
CIE-LCHlch(31.78, 66.82, 298.27°)
OKLaboklab(42.45% 0.0059 -0.1699)
OKLCHoklch(42.45% 0.17 272)
XYZxyz(10.1970, 6.9869, 38.3396)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323EA9 #A99D32
analogous
#3279A9 #323EA9 #6232A9
triadic
#323EA9 #A9323E #3EA932
tetradic
#323EA9 #A93279 #A99D32 #32A962
square
#323EA9 #A93279 #A99D32 #32A962
split-complementary
#323EA9 #A96232 #79A932
monochromatic
#161B4B #242D7A #323EA9 #4E5ACB #7D86D9

Accessibility & contrast

On white

8.76
#323EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323EA9
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323EA9#FFFFFF#000000##FFFFFF
##323EA91.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323ea9;
/* rgb */ color: rgb(50, 62, 169);
/* oklch */ color: oklch(42.4% 0.170 272.0);
Tailwind
colors: {
  custom: {
    50: '#7a73c3',
    500: '#323ea9',
    950: '#000000',
  },
}
SCSS
$custom: #323ea9;
$custom-light: #7a73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#323ea9",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 233.95,
    "s": 54.338,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4245,
    "c": 0.16999,
    "h": 272
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#323EA9
secondary
#C1BA76
accent
#CF4ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #323EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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