#323E86#323E86

#323E86 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.120 H 272.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#323E86
RGBrgb(50, 62, 134)
HSLhsl(231, 46%, 36%)
HSVhsv(231, 63%, 53%)
CMYKcmyk(62.7%, 53.7%, 0%, 47.5%)
CIE-LABlab(29.02, 18.89, -42.00)
CIE-LCHlch(29.02, 46.05, 294.21°)
OKLaboklab(39.53% 0.0054 -0.1203)
OKLCHoklch(39.53% 0.12 272.6)
XYZxyz(7.3397, 5.8440, 23.2909)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323E86 #867A32
analogous
#326886 #323E86 #503286
triadic
#323E86 #86323E #3E8632
tetradic
#323E86 #863268 #867A32 #328650
square
#323E86 #863268 #867A32 #328650
split-complementary
#323E86 #865032 #688632
monochromatic
#11152D #212959 #323E86 #4353B3 #6B78C8

Accessibility & contrast

On white

9.68
#323E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#323E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323E86
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323E86#FFFFFF#000000##FFFFFF
##323E861.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134889
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #323e86;
/* rgb */ color: rgb(50, 62, 134);
/* oklch */ color: oklch(39.5% 0.120 272.6);
Tailwind
colors: {
  custom: {
    50: '#7373aa',
    500: '#323e86',
    950: '#000000',
  },
}
SCSS
$custom: #323e86;
$custom-light: #7373aa;
$custom-dark: #000000;
JSON
{
  "hex": "#323e86",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 134
  },
  "hsl": {
    "h": 231.429,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39527,
    "c": 0.12047,
    "h": 272.6
  },
  "luminance": 0.05845
}

Semantic roles & 50–950 ramp

primary
#323E86
secondary
#AFA564
accent
#C352D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #323E86

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

Preview Lab → · Contrast checker → · Palette generator →

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