#323EB1#323EB1

#323EB1 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.181 H 271.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#323EB1
RGBrgb(50, 62, 177)
HSLhsl(234, 56%, 45%)
HSVhsv(234, 72%, 69%)
CMYKcmyk(71.8%, 65%, 0%, 30.6%)
CIE-LABlab(32.47, 34.51, -62.49)
CIE-LCHlch(32.47, 71.39, 298.91°)
OKLaboklab(43.18% 0.0054 -0.1806)
OKLCHoklch(43.18% 0.181 271.7)
XYZxyz(10.9711, 7.2966, 42.4166)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323EB1 #B1A532
analogous
#327DB1 #323EB1 #6632B1
triadic
#323EB1 #B1323E #3EB132
tetradic
#323EB1 #B1327D #B1A532 #32B166
square
#323EB1 #B1327D #B1A532 #32B166
split-complementary
#323EB1 #B16632 #7DB132
monochromatic
#171D52 #252D81 #323EB1 #525ECE #828ADC

Accessibility & contrast

On white

8.54
#323EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#323EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323EB1
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323EB1#FFFFFF#000000##FFFFFF
##323EB11.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #323eb1;
/* rgb */ color: rgb(50, 62, 177);
/* oklch */ color: oklch(43.2% 0.181 271.7);
Tailwind
colors: {
  custom: {
    50: '#7c73c9',
    500: '#323eb1',
    950: '#000000',
  },
}
SCSS
$custom: #323eb1;
$custom-light: #7c73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#323eb1",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 177
  },
  "hsl": {
    "h": 234.331,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43175,
    "c": 0.18064,
    "h": 271.7
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#323EB1
secondary
#C5BE7A
accent
#D149DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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