#323BAC#323BAC

#323BAC is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.178 H 272.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#323BAC
RGBrgb(50, 59, 172)
HSLhsl(236, 55%, 44%)
HSVhsv(236, 71%, 67%)
CMYKcmyk(70.9%, 65.7%, 0%, 32.5%)
CIE-LABlab(31.31, 34.64, -61.42)
CIE-LCHlch(31.31, 70.51, 299.42°)
OKLaboklab(42.19% 0.0079 -0.1774)
OKLCHoklch(42.19% 0.178 272.5)
XYZxyz(10.3232, 6.7836, 39.7870)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323BAC #ACA332
analogous
#3278AC #323BAC #6632AC
triadic
#323BAC #AC323B #3BAC32
tetradic
#323BAC #AC3278 #ACA332 #32AC66
square
#323BAC #AC3278 #ACA332 #32AC66
split-complementary
#323BAC #AC6632 #78AC32
monochromatic
#161A4D #242B7D #323BAC #4F58CC #7F85DA

Accessibility & contrast

On white

8.91
#323BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#323BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323BAC
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323BAC#FFFFFF#000000##FFFFFF
##323BAC1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323bac;
/* rgb */ color: rgb(50, 59, 172);
/* oklch */ color: oklch(42.2% 0.178 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b71c6',
    500: '#323bac',
    950: '#000000',
  },
}
SCSS
$custom: #323bac;
$custom-light: #7b71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#323bac",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 235.574,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42188,
    "c": 0.17759,
    "h": 272.5
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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