#323BAB#323BAB

#323BAB is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.176 H 272.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#323BAB
RGBrgb(50, 59, 171)
HSLhsl(236, 55%, 43%)
HSVhsv(236, 71%, 67%)
CMYKcmyk(70.8%, 65.5%, 0%, 32.9%)
CIE-LABlab(31.22, 34.29, -60.97)
CIE-LCHlch(31.22, 69.94, 299.35°)
OKLaboklab(42.1% 0.0079 -0.1761)
OKLCHoklch(42.1% 0.176 272.6)
XYZxyz(10.2276, 6.7453, 39.2832)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323BAB #ABA232
analogous
#3277AB #323BAB #6532AB
triadic
#323BAB #AB323B #3BAB32
tetradic
#323BAB #AB3277 #ABA232 #32AB65
square
#323BAB #AB3277 #ABA232 #32AB65
split-complementary
#323BAB #AB6532 #77AB32
monochromatic
#161A4C #242B7C #323BAB #4F58CB #7E85D9

Accessibility & contrast

On white

8.94
#323BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#323BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323BAB
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323BAB#FFFFFF#000000##FFFFFF
##323BAB1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323bab;
/* rgb */ color: rgb(50, 59, 171);
/* oklch */ color: oklch(42.1% 0.176 272.6);
Tailwind
colors: {
  custom: {
    50: '#7b71c5',
    500: '#323bab',
    950: '#000000',
  },
}
SCSS
$custom: #323bab;
$custom-light: #7b71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#323bab",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 235.537,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42096,
    "c": 0.17628,
    "h": 272.6
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

primary
#323BAB
secondary
#C2BD77
accent
#D34ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #323BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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