#323AB2#323AB2

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

Color values

HEX#323AB2
RGBrgb(50, 58, 178)
HSLhsl(236, 56%, 45%)
HSVhsv(236, 72%, 70%)
CMYKcmyk(71.9%, 67.4%, 0%, 30.2%)
CIE-LABlab(31.62, 37.38, -64.49)
CIE-LCHlch(31.62, 74.54, 300.10°)
OKLaboklab(42.58% 0.008 -0.1864)
OKLCHoklch(42.58% 0.187 272.5)
XYZxyz(10.8616, 6.9175, 42.8736)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323AB2 #B2AA32
analogous
#327AB2 #323AB2 #6A32B2
triadic
#323AB2 #B2323A #3AB232
tetradic
#323AB2 #B2327A #B2AA32 #32B26A
square
#323AB2 #B2327A #B2AA32 #32B26A
split-complementary
#323AB2 #B26A32 #7AB232
monochromatic
#171B52 #252A82 #323AB2 #535ACF #8288DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##323AB2#FFFFFF#000000##FFFFFF
##323AB21.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)
#0050B6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323ab2;
/* rgb */ color: rgb(50, 58, 178);
/* oklch */ color: oklch(42.6% 0.187 272.5);
Tailwind
colors: {
  custom: {
    50: '#7c70ca',
    500: '#323ab2',
    950: '#000000',
  },
}
SCSS
$custom: #323ab2;
$custom-light: #7c70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#323ab2",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 236.25,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4258,
    "c": 0.18659,
    "h": 272.5
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#323AB2
secondary
#C5C17B
accent
#D648DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #323AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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