#323EB2#323EB2

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

Color values

HEX#323EB2
RGBrgb(50, 62, 178)
HSLhsl(234, 56%, 45%)
HSVhsv(234, 72%, 70%)
CMYKcmyk(71.9%, 65.2%, 0%, 30.2%)
CIE-LABlab(32.56, 34.87, -62.94)
CIE-LCHlch(32.56, 71.96, 298.99°)
OKLaboklab(43.27% 0.0054 -0.1819)
OKLCHoklch(43.27% 0.182 271.7)
XYZxyz(11.0712, 7.3366, 42.9435)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323EB2 #B2A632
analogous
#327EB2 #323EB2 #6632B2
triadic
#323EB2 #B2323E #3EB232
tetradic
#323EB2 #B2327E #B2A632 #32B266
square
#323EB2 #B2327E #B2A632 #32B266
split-complementary
#323EB2 #B26632 #7EB232
monochromatic
#171D52 #252D82 #323EB2 #535ECF #828BDC

Accessibility & contrast

On white

8.51
#323EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#323EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323EB2
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323EB2#FFFFFF#000000##FFFFFF
##323EB21.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #323eb2;
/* rgb */ color: rgb(50, 62, 178);
/* oklch */ color: oklch(43.3% 0.182 271.7);
Tailwind
colors: {
  custom: {
    50: '#7c73ca',
    500: '#323eb2',
    950: '#000000',
  },
}
SCSS
$custom: #323eb2;
$custom-light: #7c73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#323eb2",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 234.375,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43267,
    "c": 0.18196,
    "h": 271.7
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#323EB2
secondary
#C5BE7B
accent
#D148DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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