#323587#323587

#323587 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.134 H 276.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#323587
RGBrgb(50, 53, 135)
HSLhsl(238, 46%, 36%)
HSVhsv(238, 63%, 53%)
CMYKcmyk(63%, 60.7%, 0%, 47.1%)
CIE-LABlab(26.66, 25.32, -46.44)
CIE-LCHlch(26.66, 52.89, 298.60°)
OKLaboklab(37.79% 0.0147 -0.1335)
OKLCHoklch(37.79% 0.134 276.3)
XYZxyz(6.9603, 4.9730, 23.5101)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323587 #878432
analogous
#326087 #323587 #5A3287
triadic
#323587 #873235 #358732
tetradic
#323587 #873260 #878432 #32875A
square
#323587 #873260 #878432 #32875A
split-complementary
#323587 #875A32 #608732
monochromatic
#11122E #21235A #323587 #4347B4 #6B6EC8

Accessibility & contrast

On white

10.53
#323587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#323587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323587
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323587#FFFFFF#000000##FFFFFF
##3235871.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #323587;
/* rgb */ color: rgb(50, 53, 135);
/* oklch */ color: oklch(37.8% 0.134 276.3);
Tailwind
colors: {
  custom: {
    50: '#736cab',
    500: '#323587',
    950: '#000000',
  },
}
SCSS
$custom: #323587;
$custom-light: #736cab;
$custom-dark: #000000;
JSON
{
  "hex": "#323587",
  "rgb": {
    "r": 50,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 237.882,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3779,
    "c": 0.13431,
    "h": 276.3
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#323587
secondary
#B0AD65
accent
#D152D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323587

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

Preview Lab → · Contrast checker → · Palette generator →

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