#323786#323786

#323786 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.130 H 275.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#323786
RGBrgb(50, 55, 134)
HSLhsl(236, 46%, 36%)
HSVhsv(236, 63%, 53%)
CMYKcmyk(62.7%, 59%, 0%, 47.5%)
CIE-LABlab(27.11, 23.62, -45.09)
CIE-LCHlch(27.11, 50.90, 297.65°)
OKLaboklab(38.1% 0.0127 -0.1295)
OKLCHoklch(38.1% 0.13 275.6)
XYZxyz(6.9833, 5.1312, 23.1721)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323786 #868132
analogous
#326186 #323786 #573286
triadic
#323786 #863237 #378632
tetradic
#323786 #863261 #868132 #328657
square
#323786 #863261 #868132 #328657
split-complementary
#323786 #865732 #618632
monochromatic
#11122D #212559 #323786 #4349B3 #6B70C8

Accessibility & contrast

On white

10.36
#323786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#323786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323786
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323786#FFFFFF#000000##FFFFFF
##3237861.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #323786;
/* rgb */ color: rgb(50, 55, 134);
/* oklch */ color: oklch(38.1% 0.130 275.6);
Tailwind
colors: {
  custom: {
    50: '#736daa',
    500: '#323786',
    950: '#000000',
  },
}
SCSS
$custom: #323786;
$custom-light: #736daa;
$custom-dark: #000000;
JSON
{
  "hex": "#323786",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 236.429,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38097,
    "c": 0.13014,
    "h": 275.6
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#323786
secondary
#AFAB64
accent
#CE52D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323786

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

Preview Lab → · Contrast checker → · Palette generator →

#323786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva