#323EA3#323EA3

#323EA3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.162 H 272.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#323EA3
RGBrgb(50, 62, 163)
HSLhsl(234, 53%, 42%)
HSVhsv(234, 69%, 64%)
CMYKcmyk(69.3%, 62%, 0%, 36.1%)
CIE-LABlab(31.27, 29.48, -56.08)
CIE-LCHlch(31.27, 63.35, 297.73°)
OKLaboklab(41.92% 0.0061 -0.1617)
OKLCHoklch(41.92% 0.162 272.2)
XYZxyz(9.6467, 6.7668, 35.4410)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323EA3 #A39732
analogous
#3277A3 #323EA3 #5E32A3
triadic
#323EA3 #A3323E #3EA332
tetradic
#323EA3 #A33277 #A39732 #32A35E
square
#323EA3 #A33277 #A39732 #32A35E
split-complementary
#323EA3 #A35E32 #77A332
monochromatic
#151A45 #242C74 #323EA3 #4B58C8 #7983D6

Accessibility & contrast

On white

8.92
#323EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#323EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323EA3
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323EA3#FFFFFF#000000##FFFFFF
##323EA31.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323ea3;
/* rgb */ color: rgb(50, 62, 163);
/* oklch */ color: oklch(41.9% 0.162 272.2);
Tailwind
colors: {
  custom: {
    50: '#7973bf',
    500: '#323ea3',
    950: '#000000',
  },
}
SCSS
$custom: #323ea3;
$custom-light: #7973bf;
$custom-dark: #000000;
JSON
{
  "hex": "#323ea3",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 233.628,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41919,
    "c": 0.16185,
    "h": 272.2
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#323EA3
secondary
#BFB672
accent
#CD4BDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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