#393687#393687

#393687 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.131 H 279.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#393687
RGBrgb(57, 54, 135)
HSLhsl(242, 43%, 37%)
HSVhsv(242, 60%, 53%)
CMYKcmyk(57.8%, 60%, 0%, 47.1%)
CIE-LABlab(27.45, 25.99, -45.12)
CIE-LCHlch(27.45, 52.07, 299.94°)
OKLaboklab(38.52% 0.0226 -0.1294)
OKLCHoklch(38.52% 0.131 279.9)
XYZxyz(7.3783, 5.2570, 23.5429)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393687 #848736
analogous
#365C87 #393687 #623687
triadic
#393687 #873936 #368739
tetradic
#393687 #87365C #848736 #368762
square
#393687 #87365C #848736 #368762
split-complementary
#393687 #876236 #5C8736
monochromatic
#141330 #27255B #393687 #4B47B3 #7471C6

Accessibility & contrast

On white

10.24
#393687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393687
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393687#FFFFFF#000000##FFFFFF
##3936871.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#104959
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #393687;
/* rgb */ color: rgb(57, 54, 135);
/* oklch */ color: oklch(38.5% 0.131 279.9);
Tailwind
colors: {
  custom: {
    50: '#776dab',
    500: '#393687',
    950: '#000000',
  },
}
SCSS
$custom: #393687;
$custom-light: #776dab;
$custom-dark: #000000;
JSON
{
  "hex": "#393687",
  "rgb": {
    "r": 57,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 242.222,
    "s": 42.857,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38518,
    "c": 0.13137,
    "h": 279.9
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#393687
secondary
#ACAF6A
accent
#D355CE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393687

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

Preview Lab → · Contrast checker → · Palette generator →

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