#323FB2#323FB2

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

Color values

HEX#323FB2
RGBrgb(50, 63, 178)
HSLhsl(234, 56%, 45%)
HSVhsv(234, 72%, 70%)
CMYKcmyk(71.9%, 64.6%, 0%, 30.2%)
CIE-LABlab(32.80, 34.24, -62.55)
CIE-LCHlch(32.80, 71.31, 298.69°)
OKLaboklab(43.44% 0.0047 -0.1807)
OKLCHoklch(43.44% 0.181 271.5)
XYZxyz(11.1261, 7.4464, 42.9618)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FB2 #B2A532
analogous
#327FB2 #323FB2 #6532B2
triadic
#323FB2 #B2323F #3FB232
tetradic
#323FB2 #B2327F #B2A532 #32B265
square
#323FB2 #B2327F #B2A532 #32B265
split-complementary
#323FB2 #B26532 #7FB232
monochromatic
#171D52 #252E82 #323FB2 #535FCF #828CDC

Accessibility & contrast

On white

8.44
#323FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#323FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FB2
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FB2#FFFFFF#000000##FFFFFF
##323FB21.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323fb2;
/* rgb */ color: rgb(50, 63, 178);
/* oklch */ color: oklch(43.4% 0.181 271.5);
Tailwind
colors: {
  custom: {
    50: '#7c74ca',
    500: '#323fb2',
    950: '#000000',
  },
}
SCSS
$custom: #323fb2;
$custom-light: #7c74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#323fb2",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 233.906,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43444,
    "c": 0.18078,
    "h": 271.5
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#323FB2
secondary
#C5BE7B
accent
#D048DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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