#393D8F#393D8F

#393D8F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.133 H 276.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#393D8F
RGBrgb(57, 61, 143)
HSLhsl(237, 43%, 39%)
HSVhsv(237, 60%, 56%)
CMYKcmyk(60.1%, 57.3%, 0%, 43.9%)
CIE-LABlab(29.89, 24.15, -46.13)
CIE-LCHlch(29.89, 52.07, 297.64°)
OKLaboklab(40.52% 0.0152 -0.1323)
OKLCHoklch(40.52% 0.133 276.6)
XYZxyz(8.3124, 6.1899, 26.7380)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393D8F #8F8B39
analogous
#39688F #393D8F #60398F
triadic
#393D8F #8F393D #3D8F39
tetradic
#393D8F #8F3968 #8F8B39 #398F60
square
#393D8F #8F3968 #8F8B39 #398F60
split-complementary
#393D8F #8F6039 #688F39
monochromatic
#161837 #282A63 #393D8F #4D52B8 #797DCA

Accessibility & contrast

On white

9.38
#393D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#393D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393D8F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393D8F#FFFFFF#000000##FFFFFF
##393D8F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #393d8f;
/* rgb */ color: rgb(57, 61, 143);
/* oklch */ color: oklch(40.5% 0.133 276.6);
Tailwind
colors: {
  custom: {
    50: '#7872b0',
    500: '#393d8f',
    950: '#000000',
  },
}
SCSS
$custom: #393d8f;
$custom-light: #7872b0;
$custom-dark: #000000;
JSON
{
  "hex": "#393d8f",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 237.209,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40516,
    "c": 0.13319,
    "h": 276.6
  },
  "luminance": 0.06191
}

Semantic roles & 50–950 ramp

primary
#393D8F
secondary
#B3B071
accent
#CD55D3
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #393D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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