#323A86#323A86

#323A86 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.126 H 274.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#323A86
RGBrgb(50, 58, 134)
HSLhsl(234, 46%, 36%)
HSVhsv(234, 63%, 53%)
CMYKcmyk(62.7%, 56.7%, 0%, 47.5%)
CIE-LABlab(27.91, 21.60, -43.78)
CIE-LCHlch(27.91, 48.82, 296.26°)
OKLaboklab(38.7% 0.0096 -0.1256)
OKLCHoklch(38.7% 0.126 274.4)
XYZxyz(7.1301, 5.4249, 23.2210)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323A86 #867E32
analogous
#326486 #323A86 #543286
triadic
#323A86 #86323A #3A8632
tetradic
#323A86 #863264 #867E32 #328654
square
#323A86 #863264 #867E32 #328654
split-complementary
#323A86 #865432 #648632
monochromatic
#11132D #212759 #323A86 #434DB3 #6B74C8

Accessibility & contrast

On white

10.07
#323A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#323A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323A86
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323A86#FFFFFF#000000##FFFFFF
##323A861.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024689
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #323a86;
/* rgb */ color: rgb(50, 58, 134);
/* oklch */ color: oklch(38.7% 0.126 274.4);
Tailwind
colors: {
  custom: {
    50: '#7370aa',
    500: '#323a86',
    950: '#000000',
  },
}
SCSS
$custom: #323a86;
$custom-light: #7370aa;
$custom-dark: #000000;
JSON
{
  "hex": "#323a86",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 134
  },
  "hsl": {
    "h": 234.286,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38699,
    "c": 0.12601,
    "h": 274.4
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#323A86
secondary
#AFA864
accent
#C952D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323A86

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

Preview Lab → · Contrast checker → · Palette generator →

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