#323AA1#323AA1

#323AA1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.164 H 273.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#323AA1
RGBrgb(50, 58, 161)
HSLhsl(236, 53%, 41%)
HSVhsv(236, 69%, 63%)
CMYKcmyk(68.9%, 64%, 0%, 36.9%)
CIE-LABlab(30.10, 31.36, -56.78)
CIE-LCHlch(30.10, 64.86, 298.91°)
OKLaboklab(41.01% 0.0093 -0.1638)
OKLCHoklch(41.01% 0.164 273.3)
XYZxyz(9.2593, 6.2766, 34.4348)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323AA1 #A19932
analogous
#3272A1 #323AA1 #6232A1
triadic
#323AA1 #A1323A #3AA132
tetradic
#323AA1 #A13272 #A19932 #32A162
square
#323AA1 #A13272 #A19932 #32A162
split-complementary
#323AA1 #A16232 #72A132
monochromatic
#151844 #232972 #323AA1 #4A53C7 #787FD5

Accessibility & contrast

On white

9.31
#323AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#323AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323AA1
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323AA1#FFFFFF#000000##FFFFFF
##323AA11.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #323aa1;
/* rgb */ color: rgb(50, 58, 161);
/* oklch */ color: oklch(41.0% 0.164 273.3);
Tailwind
colors: {
  custom: {
    50: '#7970be',
    500: '#323aa1',
    950: '#000000',
  },
}
SCSS
$custom: #323aa1;
$custom-light: #7970be;
$custom-dark: #000000;
JSON
{
  "hex": "#323aa1",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 235.676,
    "s": 52.607,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41005,
    "c": 0.16411,
    "h": 273.3
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#323AA1
secondary
#BEB871
accent
#D24CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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