#323DAA#323DAA

#323DAA is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.173 H 272.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#323DAA
RGBrgb(50, 61, 170)
HSLhsl(235, 55%, 43%)
HSVhsv(235, 71%, 67%)
CMYKcmyk(70.6%, 64.1%, 0%, 33.3%)
CIE-LABlab(31.62, 32.65, -59.72)
CIE-LCHlch(31.62, 68.06, 298.67°)
OKLaboklab(42.36% 0.0066 -0.1724)
OKLCHoklch(42.36% 0.173 272.2)
XYZxyz(10.2374, 6.9169, 38.8180)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323DAA #AA9F32
analogous
#3279AA #323DAA #6332AA
triadic
#323DAA #AA323D #3DAA32
tetradic
#323DAA #AA3279 #AA9F32 #32AA63
square
#323DAA #AA3279 #AA9F32 #32AA63
split-complementary
#323DAA #AA6332 #79AA32
monochromatic
#161B4B #242C7B #323DAA #4E5ACB #7D86D9

Accessibility & contrast

On white

8.81
#323DAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#323DAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323DAA
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323DAA#FFFFFF#000000##FFFFFF
##323DAA1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323daa;
/* rgb */ color: rgb(50, 61, 170);
/* oklch */ color: oklch(42.4% 0.173 272.2);
Tailwind
colors: {
  custom: {
    50: '#7a72c4',
    500: '#323daa',
    950: '#000000',
  },
}
SCSS
$custom: #323daa;
$custom-light: #7a72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#323daa",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 170
  },
  "hsl": {
    "h": 234.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42359,
    "c": 0.17256,
    "h": 272.2
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#323DAA
secondary
#C2BB76
accent
#D04ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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