#323787#323787

#323787 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.132 H 275.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#323787
RGBrgb(50, 55, 135)
HSLhsl(236, 46%, 36%)
HSVhsv(236, 63%, 53%)
CMYKcmyk(63%, 59.3%, 0%, 47.1%)
CIE-LABlab(27.18, 23.98, -45.58)
CIE-LCHlch(27.18, 51.51, 297.75°)
OKLaboklab(38.18% 0.0127 -0.131)
OKLCHoklch(38.18% 0.132 275.5)
XYZxyz(7.0533, 5.1592, 23.5411)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323787 #878232
analogous
#326287 #323787 #583287
triadic
#323787 #873237 #378732
tetradic
#323787 #873262 #878232 #328758
square
#323787 #873262 #878232 #328758
split-complementary
#323787 #875832 #628732
monochromatic
#11132E #21255A #323787 #4349B4 #6B71C8

Accessibility & contrast

On white

10.33
#323787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #323787
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323787#FFFFFF#000000##FFFFFF
##3237871.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #323787;
/* rgb */ color: rgb(50, 55, 135);
/* oklch */ color: oklch(38.2% 0.132 275.5);
Tailwind
colors: {
  custom: {
    50: '#736dab',
    500: '#323787',
    950: '#000000',
  },
}
SCSS
$custom: #323787;
$custom-light: #736dab;
$custom-dark: #000000;
JSON
{
  "hex": "#323787",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 236.471,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3818,
    "c": 0.13159,
    "h": 275.5
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#323787
secondary
#B0AB65
accent
#CE52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #323787

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

Preview Lab → · Contrast checker → · Palette generator →

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