#323FA1#323FA1

#323FA1 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.158 H 271.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#323FA1
RGBrgb(50, 63, 161)
HSLhsl(233, 53%, 41%)
HSVhsv(233, 69%, 63%)
CMYKcmyk(68.9%, 60.9%, 0%, 36.9%)
CIE-LABlab(31.36, 28.10, -54.72)
CIE-LCHlch(31.36, 61.52, 297.18°)
OKLaboklab(41.93% 0.0053 -0.1578)
OKLCHoklch(41.93% 0.158 271.9)
XYZxyz(9.5238, 6.8054, 34.5230)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FA1 #A19432
analogous
#3277A1 #323FA1 #5D32A1
triadic
#323FA1 #A1323F #3FA132
tetradic
#323FA1 #A13277 #A19432 #32A15D
square
#323FA1 #A13277 #A19432 #32A15D
split-complementary
#323FA1 #A15D32 #77A132
monochromatic
#151A44 #232D72 #323FA1 #4A58C7 #7883D5

Accessibility & contrast

On white

8.89
#323FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#323FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FA1
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FA1#FFFFFF#000000##FFFFFF
##323FA11.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323fa1;
/* rgb */ color: rgb(50, 63, 161);
/* oklch */ color: oklch(41.9% 0.158 271.9);
Tailwind
colors: {
  custom: {
    50: '#7874be',
    500: '#323fa1',
    950: '#000000',
  },
}
SCSS
$custom: #323fa1;
$custom-light: #7874be;
$custom-dark: #000000;
JSON
{
  "hex": "#323fa1",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 232.973,
    "s": 52.607,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41934,
    "c": 0.15785,
    "h": 271.9
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#323FA1
secondary
#BEB571
accent
#CB4CDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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