#323AA5#323AA5

#323AA5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.169 H 273.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#323AA5
RGBrgb(50, 58, 165)
HSLhsl(236, 53%, 42%)
HSVhsv(236, 70%, 65%)
CMYKcmyk(69.7%, 64.8%, 0%, 35.3%)
CIE-LABlab(30.45, 32.79, -58.63)
CIE-LCHlch(30.45, 67.17, 299.22°)
OKLaboklab(41.37% 0.0091 -0.1693)
OKLCHoklch(41.37% 0.169 273.1)
XYZxyz(9.6177, 6.4199, 36.3223)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323AA5 #A59D32
analogous
#3274A5 #323AA5 #6432A5
triadic
#323AA5 #A5323A #3AA532
tetradic
#323AA5 #A53274 #A59D32 #32A564
square
#323AA5 #A53274 #A59D32 #32A564
split-complementary
#323AA5 #A56432 #74A532
monochromatic
#161947 #242976 #323AA5 #4C54C9 #7B81D7

Accessibility & contrast

On white

9.19
#323AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#323AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323AA5
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323AA5#FFFFFF#000000##FFFFFF
##323AA51.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #323aa5;
/* rgb */ color: rgb(50, 58, 165);
/* oklch */ color: oklch(41.4% 0.169 273.1);
Tailwind
colors: {
  custom: {
    50: '#7970c1',
    500: '#323aa5',
    950: '#000000',
  },
}
SCSS
$custom: #323aa5;
$custom-light: #7970c1;
$custom-dark: #000000;
JSON
{
  "hex": "#323aa5",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 235.826,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41368,
    "c": 0.16949,
    "h": 273.1
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#323AA5
secondary
#BFBA73
accent
#D34BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #323AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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