#323CAC#323CAC

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

Color values

HEX#323CAC
RGBrgb(50, 60, 172)
HSLhsl(235, 55%, 44%)
HSVhsv(235, 71%, 67%)
CMYKcmyk(70.9%, 65.1%, 0%, 32.5%)
CIE-LABlab(31.55, 34.00, -61.02)
CIE-LCHlch(31.55, 69.86, 299.13°)
OKLaboklab(42.36% 0.0072 -0.1763)
OKLCHoklch(42.36% 0.176 272.3)
XYZxyz(10.3751, 6.8874, 39.8043)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CAC #ACA232
analogous
#3279AC #323CAC #6532AC
triadic
#323CAC #AC323C #3CAC32
tetradic
#323CAC #AC3279 #ACA232 #32AC65
square
#323CAC #AC3279 #ACA232 #32AC65
split-complementary
#323CAC #AC6532 #79AC32
monochromatic
#161B4D #242B7D #323CAC #4F59CC #7F86DA

Accessibility & contrast

On white

8.83
#323CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323CAC
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CAC#FFFFFF#000000##FFFFFF
##323CAC1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323cac;
/* rgb */ color: rgb(50, 60, 172);
/* oklch */ color: oklch(42.4% 0.176 272.3);
Tailwind
colors: {
  custom: {
    50: '#7b72c6',
    500: '#323cac',
    950: '#000000',
  },
}
SCSS
$custom: #323cac;
$custom-light: #7b72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#323cac",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 235.082,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42364,
    "c": 0.17642,
    "h": 272.3
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#323CAC
secondary
#C3BC77
accent
#D24ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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