#323987#323987

#323987 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.129 H 274.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#323987
RGBrgb(50, 57, 135)
HSLhsl(235, 46%, 36%)
HSVhsv(235, 63%, 53%)
CMYKcmyk(63%, 57.8%, 0%, 47.1%)
CIE-LABlab(27.72, 22.63, -44.72)
CIE-LCHlch(27.72, 50.12, 296.85°)
OKLaboklab(38.58% 0.0107 -0.1284)
OKLCHoklch(38.58% 0.129 274.8)
XYZxyz(7.1503, 5.3531, 23.5734)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323987 #878032
analogous
#326487 #323987 #563287
triadic
#323987 #873239 #398732
tetradic
#323987 #873264 #878032 #328756
square
#323987 #873264 #878032 #328756
split-complementary
#323987 #875632 #648732
monochromatic
#11132E #21265A #323987 #434CB4 #6B73C8

Accessibility & contrast

On white

10.14
#323987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#323987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323987
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323987#FFFFFF#000000##FFFFFF
##3239871.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #323987;
/* rgb */ color: rgb(50, 57, 135);
/* oklch */ color: oklch(38.6% 0.129 274.8);
Tailwind
colors: {
  custom: {
    50: '#736fab',
    500: '#323987',
    950: '#000000',
  },
}
SCSS
$custom: #323987;
$custom-light: #736fab;
$custom-dark: #000000;
JSON
{
  "hex": "#323987",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 235.059,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38578,
    "c": 0.12885,
    "h": 274.8
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#323987
secondary
#B0AA65
accent
#CB52D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323987

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

Preview Lab → · Contrast checker → · Palette generator →

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