#323AA0#323AA0

#323AA0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.163 H 273.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#323AA0
RGBrgb(50, 58, 160)
HSLhsl(236, 52%, 41%)
HSVhsv(236, 69%, 63%)
CMYKcmyk(68.8%, 63.8%, 0%, 37.3%)
CIE-LABlab(30.01, 31.00, -56.32)
CIE-LCHlch(30.01, 64.28, 298.83°)
OKLaboklab(40.92% 0.0094 -0.1625)
OKLCHoklch(40.92% 0.163 273.3)
XYZxyz(9.1715, 6.2414, 33.9723)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323AA0 #A09832
analogous
#3271A0 #323AA0 #6132A0
triadic
#323AA0 #A0323A #3AA032
tetradic
#323AA0 #A03271 #A09832 #32A061
square
#323AA0 #A03271 #A09832 #32A061
split-complementary
#323AA0 #A06132 #71A032
monochromatic
#151843 #232971 #323AA0 #4952C6 #787ED5

Accessibility & contrast

On white

9.34
#323AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#323AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323AA0
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323AA0#FFFFFF#000000##FFFFFF
##323AA01.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #323aa0;
/* rgb */ color: rgb(50, 58, 160);
/* oklch */ color: oklch(40.9% 0.163 273.3);
Tailwind
colors: {
  custom: {
    50: '#7870bd',
    500: '#323aa0',
    950: '#000000',
  },
}
SCSS
$custom: #323aa0;
$custom-light: #7870bd;
$custom-dark: #000000;
JSON
{
  "hex": "#323aa0",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 160
  },
  "hsl": {
    "h": 235.636,
    "s": 52.381,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40915,
    "c": 0.16275,
    "h": 273.3
  },
  "luminance": 0.06242
}

Semantic roles & 50–950 ramp

primary
#323AA0
secondary
#BDB871
accent
#D14CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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