#393D86#393D86

#393D86 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.120 H 277.1°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#393D86
RGBrgb(57, 61, 134)
HSLhsl(237, 40%, 37%)
HSVhsv(237, 57%, 53%)
CMYKcmyk(57.5%, 54.5%, 0%, 47.5%)
CIE-LABlab(29.23, 20.99, -41.63)
CIE-LCHlch(29.23, 46.62, 296.76°)
OKLaboklab(39.82% 0.0148 -0.1191)
OKLCHoklch(39.82% 0.12 277.1)
XYZxyz(7.6578, 5.9281, 23.2903)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393D86 #868239
analogous
#396486 #393D86 #5B3986
triadic
#393D86 #86393D #3D8639
tetradic
#393D86 #863964 #868239 #39865B
square
#393D86 #863964 #868239 #39865B
split-complementary
#393D86 #865B39 #648639
monochromatic
#141630 #27295B #393D86 #4B51B1 #7579C4

Accessibility & contrast

On white

9.61
#393D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#393D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393D86
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393D86#FFFFFF#000000##FFFFFF
##393D861.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134889
Deuteranopia (green-blind)
#034284
Tritanopia (blue-blind)
#104E5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #393d86;
/* rgb */ color: rgb(57, 61, 134);
/* oklch */ color: oklch(39.8% 0.120 277.1);
Tailwind
colors: {
  custom: {
    50: '#7672aa',
    500: '#393d86',
    950: '#000000',
  },
}
SCSS
$custom: #393d86;
$custom-light: #7672aa;
$custom-dark: #000000;
JSON
{
  "hex": "#393d86",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 134
  },
  "hsl": {
    "h": 236.883,
    "s": 40.314,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39816,
    "c": 0.12,
    "h": 277.1
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#393D86
secondary
#ADAA6D
accent
#CA58D0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #393D86

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

Preview Lab → · Contrast checker → · Palette generator →

#393D86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva