#323EB5#323EB5

#323EB5 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.186 H 271.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#323EB5
RGBrgb(50, 62, 181)
HSLhsl(235, 57%, 45%)
HSVhsv(235, 72%, 71%)
CMYKcmyk(72.4%, 65.7%, 0%, 29%)
CIE-LABlab(32.83, 35.94, -64.29)
CIE-LCHlch(32.83, 73.65, 299.21°)
OKLaboklab(43.55% 0.0052 -0.1858)
OKLCHoklch(43.55% 0.186 271.6)
XYZxyz(11.3757, 7.4584, 44.5472)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323EB5 #B5A932
analogous
#327FB5 #323EB5 #6832B5
triadic
#323EB5 #B5323E #3EB532
tetradic
#323EB5 #B5327F #B5A932 #32B568
square
#323EB5 #B5327F #B5A932 #32B568
split-complementary
#323EB5 #B56832 #7FB532
monochromatic
#181D55 #252E85 #323EB5 #5460D0 #848CDD

Accessibility & contrast

On white

8.43
#323EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#323EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323EB5
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323EB5#FFFFFF#000000##FFFFFF
##323EB51.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #323eb5;
/* rgb */ color: rgb(50, 62, 181);
/* oklch */ color: oklch(43.5% 0.186 271.6);
Tailwind
colors: {
  custom: {
    50: '#7d73cc',
    500: '#323eb5',
    950: '#000000',
  },
}
SCSS
$custom: #323eb5;
$custom-light: #7d73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#323eb5",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 234.504,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43545,
    "c": 0.18588,
    "h": 271.6
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#323EB5
secondary
#C7C07C
accent
#D248E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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