#393C8F#393C8F

#393C8F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.135 H 277.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#393C8F
RGBrgb(57, 60, 143)
HSLhsl(238, 43%, 39%)
HSVhsv(238, 60%, 56%)
CMYKcmyk(60.1%, 58%, 0%, 43.9%)
CIE-LABlab(29.62, 24.81, -46.55)
CIE-LCHlch(29.62, 52.75, 298.06°)
OKLaboklab(40.32% 0.0163 -0.1336)
OKLCHoklch(40.32% 0.135 277)
XYZxyz(8.2595, 6.0841, 26.7204)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393C8F #8F8C39
analogous
#39678F #393C8F #61398F
triadic
#393C8F #8F393C #3C8F39
tetradic
#393C8F #8F3967 #8F8C39 #398F61
square
#393C8F #8F3967 #8F8C39 #398F61
split-complementary
#393C8F #8F6139 #678F39
monochromatic
#161737 #282A63 #393C8F #4D51B8 #797CCA

Accessibility & contrast

On white

9.47
#393C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#393C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393C8F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393C8F#FFFFFF#000000##FFFFFF
##393C8F1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #393c8f;
/* rgb */ color: rgb(57, 60, 143);
/* oklch */ color: oklch(40.3% 0.135 277.0);
Tailwind
colors: {
  custom: {
    50: '#7871b0',
    500: '#393c8f',
    950: '#000000',
  },
}
SCSS
$custom: #393c8f;
$custom-light: #7871b0;
$custom-dark: #000000;
JSON
{
  "hex": "#393c8f",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 237.907,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4032,
    "c": 0.13457,
    "h": 277
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#393C8F
secondary
#B3B071
accent
#CE55D3
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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