#323FB4#323FB4

#323FB4 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.183 H 271.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#323FB4
RGBrgb(50, 63, 180)
HSLhsl(234, 57%, 45%)
HSVhsv(234, 72%, 71%)
CMYKcmyk(72.2%, 65%, 0%, 29.4%)
CIE-LABlab(32.98, 34.95, -63.45)
CIE-LCHlch(32.98, 72.44, 298.85°)
OKLaboklab(43.63% 0.0046 -0.1834)
OKLCHoklch(43.63% 0.183 271.4)
XYZxyz(11.3283, 7.5273, 44.0271)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FB4 #B4A732
analogous
#3280B4 #323FB4 #6632B4
triadic
#323FB4 #B4323F #3FB432
tetradic
#323FB4 #B43280 #B4A732 #32B466
square
#323FB4 #B43280 #B4A732 #32B466
split-complementary
#323FB4 #B46632 #80B432
monochromatic
#171D54 #252E84 #323FB4 #5460CF #848DDD

Accessibility & contrast

On white

8.38
#323FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#323FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FB4
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FB4#FFFFFF#000000##FFFFFF
##323FB41.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #323fb4;
/* rgb */ color: rgb(50, 63, 180);
/* oklch */ color: oklch(43.6% 0.183 271.4);
Tailwind
colors: {
  custom: {
    50: '#7c74cb',
    500: '#323fb4',
    950: '#000000',
  },
}
SCSS
$custom: #323fb4;
$custom-light: #7c74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#323fb4",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 234,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43627,
    "c": 0.18341,
    "h": 271.4
  },
  "luminance": 0.07528
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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