#323B86#323B86

#323B86 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.125 H 273.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#323B86
RGBrgb(50, 59, 134)
HSLhsl(234, 46%, 36%)
HSVhsv(234, 63%, 53%)
CMYKcmyk(62.7%, 56%, 0%, 47.5%)
CIE-LABlab(28.19, 20.92, -43.34)
CIE-LCHlch(28.19, 48.12, 295.77°)
OKLaboklab(38.9% 0.0086 -0.1243)
OKLCHoklch(38.9% 0.125 273.9)
XYZxyz(7.1810, 5.5267, 23.2380)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323B86 #867D32
analogous
#326586 #323B86 #533286
triadic
#323B86 #86323B #3B8632
tetradic
#323B86 #863265 #867D32 #328653
square
#323B86 #863265 #867D32 #328653
split-complementary
#323B86 #865332 #658632
monochromatic
#11142D #212759 #323B86 #434FB3 #6B75C8

Accessibility & contrast

On white

9.97
#323B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#323B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323B86
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323B86#FFFFFF#000000##FFFFFF
##323B861.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074689
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #323b86;
/* rgb */ color: rgb(50, 59, 134);
/* oklch */ color: oklch(38.9% 0.125 273.9);
Tailwind
colors: {
  custom: {
    50: '#7370aa',
    500: '#323b86',
    950: '#000000',
  },
}
SCSS
$custom: #323b86;
$custom-light: #7370aa;
$custom-dark: #000000;
JSON
{
  "hex": "#323b86",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 134
  },
  "hsl": {
    "h": 233.571,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38904,
    "c": 0.12463,
    "h": 273.9
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#323B86
secondary
#AFA764
accent
#C752D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323B86

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

Preview Lab → · Contrast checker → · Palette generator →

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