#323FB5#323FB5

#323FB5 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.185 H 271.4°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#323FB5
RGBrgb(50, 63, 181)
HSLhsl(234, 57%, 45%)
HSVhsv(234, 72%, 71%)
CMYKcmyk(72.4%, 65.2%, 0%, 29%)
CIE-LABlab(33.07, 35.31, -63.90)
CIE-LCHlch(33.07, 73.00, 298.92°)
OKLaboklab(43.72% 0.0045 -0.1847)
OKLCHoklch(43.72% 0.185 271.4)
XYZxyz(11.4306, 7.5682, 44.5655)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FB5 #B5A832
analogous
#3280B5 #323FB5 #6732B5
triadic
#323FB5 #B5323F #3FB532
tetradic
#323FB5 #B53280 #B5A832 #32B567
square
#323FB5 #B53280 #B5A832 #32B567
split-complementary
#323FB5 #B56732 #80B532
monochromatic
#181E55 #252E85 #323FB5 #5461D0 #848DDD

Accessibility & contrast

On white

8.35
#323FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323FB5
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FB5#FFFFFF#000000##FFFFFF
##323FB51.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323fb5;
/* rgb */ color: rgb(50, 63, 181);
/* oklch */ color: oklch(43.7% 0.185 271.4);
Tailwind
colors: {
  custom: {
    50: '#7d74cc',
    500: '#323fb5',
    950: '#000000',
  },
}
SCSS
$custom: #323fb5;
$custom-light: #7d74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#323fb5",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 234.046,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43719,
    "c": 0.18471,
    "h": 271.4
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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