#323CAB#323CAB

#323CAB is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.175 H 272.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#323CAB
RGBrgb(50, 60, 171)
HSLhsl(235, 55%, 43%)
HSVhsv(235, 71%, 67%)
CMYKcmyk(70.8%, 64.9%, 0%, 32.9%)
CIE-LABlab(31.46, 33.65, -60.57)
CIE-LCHlch(31.46, 69.29, 299.05°)
OKLaboklab(42.27% 0.0072 -0.1749)
OKLCHoklch(42.27% 0.175 272.4)
XYZxyz(10.2795, 6.8491, 39.3005)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CAB #ABA132
analogous
#3278AB #323CAB #6432AB
triadic
#323CAB #AB323C #3CAB32
tetradic
#323CAB #AB3278 #ABA132 #32AB64
square
#323CAB #AB3278 #ABA132 #32AB64
split-complementary
#323CAB #AB6432 #78AB32
monochromatic
#161B4C #242B7C #323CAB #4F59CB #7E86D9

Accessibility & contrast

On white

8.86
#323CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#323CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323CAB
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CAB#FFFFFF#000000##FFFFFF
##323CAB1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323cab;
/* rgb */ color: rgb(50, 60, 171);
/* oklch */ color: oklch(42.3% 0.175 272.4);
Tailwind
colors: {
  custom: {
    50: '#7b72c5',
    500: '#323cab',
    950: '#000000',
  },
}
SCSS
$custom: #323cab;
$custom-light: #7b72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#323cab",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 235.041,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42272,
    "c": 0.17509,
    "h": 272.4
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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