#323EB4#323EB4

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

Color values

HEX#323EB4
RGBrgb(50, 62, 180)
HSLhsl(234, 57%, 45%)
HSVhsv(234, 72%, 71%)
CMYKcmyk(72.2%, 65.6%, 0%, 29.4%)
CIE-LABlab(32.74, 35.58, -63.84)
CIE-LCHlch(32.74, 73.09, 299.13°)
OKLaboklab(43.45% 0.0052 -0.1845)
OKLCHoklch(43.45% 0.185 271.6)
XYZxyz(11.2734, 7.4175, 44.0088)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323EB4 #B4A832
analogous
#327FB4 #323EB4 #6732B4
triadic
#323EB4 #B4323E #3EB432
tetradic
#323EB4 #B4327F #B4A832 #32B467
square
#323EB4 #B4327F #B4A832 #32B467
split-complementary
#323EB4 #B46732 #7FB432
monochromatic
#171D54 #252E84 #323EB4 #545FCF #848CDD

Accessibility & contrast

On white

8.45
#323EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#323EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323EB4
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323EB4#FFFFFF#000000##FFFFFF
##323EB41.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #323eb4;
/* rgb */ color: rgb(50, 62, 180);
/* oklch */ color: oklch(43.5% 0.185 271.6);
Tailwind
colors: {
  custom: {
    50: '#7d73cb',
    500: '#323eb4',
    950: '#000000',
  },
}
SCSS
$custom: #323eb4;
$custom-light: #7d73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#323eb4",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 234.462,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43452,
    "c": 0.18457,
    "h": 271.6
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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