#323DA1#323DA1

#323DA1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.160 H 272.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#323DA1
RGBrgb(50, 61, 161)
HSLhsl(234, 53%, 41%)
HSVhsv(234, 69%, 63%)
CMYKcmyk(68.9%, 62.1%, 0%, 36.9%)
CIE-LABlab(30.85, 29.41, -55.56)
CIE-LCHlch(30.85, 62.86, 297.89°)
OKLaboklab(41.56% 0.007 -0.1602)
OKLCHoklch(41.56% 0.16 272.5)
XYZxyz(9.4150, 6.5879, 34.4867)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323DA1 #A19632
analogous
#3275A1 #323DA1 #5F32A1
triadic
#323DA1 #A1323D #3DA132
tetradic
#323DA1 #A13275 #A19632 #32A15F
square
#323DA1 #A13275 #A19632 #32A15F
split-complementary
#323DA1 #A15F32 #75A132
monochromatic
#151A44 #232B72 #323DA1 #4A56C7 #7881D5

Accessibility & contrast

On white

9.06
#323DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#323DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323DA1
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323DA1#FFFFFF#000000##FFFFFF
##323DA11.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00449F
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323da1;
/* rgb */ color: rgb(50, 61, 161);
/* oklch */ color: oklch(41.6% 0.160 272.5);
Tailwind
colors: {
  custom: {
    50: '#7872be',
    500: '#323da1',
    950: '#000000',
  },
}
SCSS
$custom: #323da1;
$custom-light: #7872be;
$custom-dark: #000000;
JSON
{
  "hex": "#323da1",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 161
  },
  "hsl": {
    "h": 234.054,
    "s": 52.607,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41557,
    "c": 0.16037,
    "h": 272.5
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#323DA1
secondary
#BEB671
accent
#CE4CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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