#393587#393587

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

Color values

HEX#393587
RGBrgb(57, 53, 135)
HSLhsl(243, 44%, 37%)
HSVhsv(243, 61%, 53%)
CMYKcmyk(57.8%, 60.7%, 0%, 47.1%)
CIE-LABlab(27.20, 26.64, -45.53)
CIE-LCHlch(27.20, 52.76, 300.33°)
OKLaboklab(38.33% 0.0237 -0.1306)
OKLCHoklch(38.33% 0.133 280.3)
XYZxyz(7.3323, 5.1649, 23.5275)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393587 #838735
analogous
#355A87 #393587 #623587
triadic
#393587 #873935 #358739
tetradic
#393587 #87355A #838735 #358762
square
#393587 #87355A #838735 #358762
split-complementary
#393587 #876235 #5A8735
monochromatic
#14122F #26245B #393587 #4C46B3 #7470C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##393587#FFFFFF#000000##FFFFFF
##3935871.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)
#00438A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#104858
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #393587;
/* rgb */ color: rgb(57, 53, 135);
/* oklch */ color: oklch(38.3% 0.133 280.3);
Tailwind
colors: {
  custom: {
    50: '#776cab',
    500: '#393587',
    950: '#000000',
  },
}
SCSS
$custom: #393587;
$custom-light: #776cab;
$custom-dark: #000000;
JSON
{
  "hex": "#393587",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 242.927,
    "s": 43.617,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38329,
    "c": 0.13277,
    "h": 280.3
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

primary
#393587
secondary
#ACAF69
accent
#D354CD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393587

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

Preview Lab → · Contrast checker → · Palette generator →

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