#323EB8#323EB8

#323EB8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.190 H 271.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#323EB8
RGBrgb(50, 62, 184)
HSLhsl(235, 57%, 46%)
HSVhsv(235, 73%, 72%)
CMYKcmyk(72.8%, 66.3%, 0%, 27.8%)
CIE-LABlab(33.10, 37.00, -65.62)
CIE-LCHlch(33.10, 75.33, 299.42°)
OKLaboklab(43.82% 0.0049 -0.1897)
OKLCHoklch(43.82% 0.19 271.5)
XYZxyz(11.6868, 7.5829, 46.1858)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323EB8 #B8AC32
analogous
#3281B8 #323EB8 #6932B8
triadic
#323EB8 #B8323E #3EB832
tetradic
#323EB8 #B83281 #B8AC32 #32B869
square
#323EB8 #B83281 #B8AC32 #32B869
split-complementary
#323EB8 #B86932 #81B832
monochromatic
#181E58 #252E88 #323EB8 #5661D1 #868EDE

Accessibility & contrast

On white

8.34
#323EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#323EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323EB8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323EB8#FFFFFF#000000##FFFFFF
##323EB81.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0048B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #323eb8;
/* rgb */ color: rgb(50, 62, 184);
/* oklch */ color: oklch(43.8% 0.190 271.5);
Tailwind
colors: {
  custom: {
    50: '#7d73ce',
    500: '#323eb8',
    950: '#000000',
  },
}
SCSS
$custom: #323eb8;
$custom-light: #7d73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#323eb8",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 234.627,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43824,
    "c": 0.18977,
    "h": 271.5
  },
  "luminance": 0.07584
}

Semantic roles & 50–950 ramp

primary
#323EB8
secondary
#C8C17E
accent
#D347E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #323EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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