#323FB1#323FB1

#323FB1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.179 H 271.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#323FB1
RGBrgb(50, 63, 177)
HSLhsl(234, 56%, 45%)
HSVhsv(234, 72%, 69%)
CMYKcmyk(71.8%, 64.4%, 0%, 30.6%)
CIE-LABlab(32.71, 33.88, -62.10)
CIE-LCHlch(32.71, 70.74, 298.61°)
OKLaboklab(43.35% 0.0048 -0.1794)
OKLCHoklch(43.35% 0.179 271.5)
XYZxyz(11.0260, 7.4063, 42.4349)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FB1 #B1A432
analogous
#327FB1 #323FB1 #6432B1
triadic
#323FB1 #B1323F #3FB132
tetradic
#323FB1 #B1327F #B1A432 #32B164
square
#323FB1 #B1327F #B1A432 #32B164
split-complementary
#323FB1 #B16432 #7FB132
monochromatic
#171D52 #252E81 #323FB1 #525FCE #828BDC

Accessibility & contrast

On white

8.46
#323FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323FB1
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FB1#FFFFFF#000000##FFFFFF
##323FB11.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #323fb1;
/* rgb */ color: rgb(50, 63, 177);
/* oklch */ color: oklch(43.4% 0.179 271.5);
Tailwind
colors: {
  custom: {
    50: '#7c74c9',
    500: '#323fb1',
    950: '#000000',
  },
}
SCSS
$custom: #323fb1;
$custom-light: #7c74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#323fb1",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 233.858,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43353,
    "c": 0.17945,
    "h": 271.5
  },
  "luminance": 0.07407
}

Semantic roles & 50–950 ramp

primary
#323FB1
secondary
#C5BD7A
accent
#D049DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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