#393686#393686

#393686 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.130 H 280.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#393686
RGBrgb(57, 54, 134)
HSLhsl(242, 43%, 37%)
HSVhsv(242, 60%, 53%)
CMYKcmyk(57.5%, 59.7%, 0%, 47.5%)
CIE-LABlab(27.38, 25.64, -44.62)
CIE-LCHlch(27.38, 51.47, 299.89°)
OKLaboklab(38.44% 0.0226 -0.1279)
OKLCHoklch(38.44% 0.13 280)
XYZxyz(7.3082, 5.2289, 23.1738)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393686 #838636
analogous
#365B86 #393686 #613686
triadic
#393686 #863936 #368639
tetradic
#393686 #86365B #838636 #368661
square
#393686 #86365B #838636 #368661
split-complementary
#393686 #866136 #5B8636
monochromatic
#14132F #26245A #393686 #4C48B2 #7471C6

Accessibility & contrast

On white

10.26
#393686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#393686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393686
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393686#FFFFFF#000000##FFFFFF
##3936861.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#124958
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #393686;
/* rgb */ color: rgb(57, 54, 134);
/* oklch */ color: oklch(38.4% 0.130 280.0);
Tailwind
colors: {
  custom: {
    50: '#776daa',
    500: '#393686',
    950: '#000000',
  },
}
SCSS
$custom: #393686;
$custom-light: #776daa;
$custom-dark: #000000;
JSON
{
  "hex": "#393686",
  "rgb": {
    "r": 57,
    "g": 54,
    "b": 134
  },
  "hsl": {
    "h": 242.25,
    "s": 42.553,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38436,
    "c": 0.12994,
    "h": 280
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#393686
secondary
#ACAE6A
accent
#D255CE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393686

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

Preview Lab → · Contrast checker → · Palette generator →

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