#323FB6#323FB6

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

Color values

HEX#323FB6
RGBrgb(50, 63, 182)
HSLhsl(234, 57%, 45%)
HSVhsv(234, 73%, 71%)
CMYKcmyk(72.5%, 65.4%, 0%, 28.6%)
CIE-LABlab(33.16, 35.66, -64.34)
CIE-LCHlch(33.16, 73.56, 299.00°)
OKLaboklab(43.81% 0.0044 -0.186)
OKLCHoklch(43.81% 0.186 271.4)
XYZxyz(11.5335, 7.6093, 45.1078)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FB6 #B6A932
analogous
#3281B6 #323FB6 #6732B6
triadic
#323FB6 #B6323F #3FB632
tetradic
#323FB6 #B63281 #B6A932 #32B667
square
#323FB6 #B63281 #B6A932 #32B667
split-complementary
#323FB6 #B66732 #81B632
monochromatic
#181E56 #252E86 #323FB6 #5561D0 #858EDD

Accessibility & contrast

On white

8.33
#323FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323FB6
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FB6#FFFFFF#000000##FFFFFF
##323FB61.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323fb6;
/* rgb */ color: rgb(50, 63, 182);
/* oklch */ color: oklch(43.8% 0.186 271.4);
Tailwind
colors: {
  custom: {
    50: '#7d74cd',
    500: '#323fb6',
    950: '#000000',
  },
}
SCSS
$custom: #323fb6;
$custom-light: #7d74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#323fb6",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 182
  },
  "hsl": {
    "h": 234.091,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43811,
    "c": 0.18602,
    "h": 271.4
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#323FB6
secondary
#C7C07D
accent
#D148E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #323FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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