#393A8F#393A8F

#393A8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.137 H 277.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#393A8F
RGBrgb(57, 58, 143)
HSLhsl(239, 43%, 39%)
HSVhsv(239, 60%, 56%)
CMYKcmyk(60.1%, 59.4%, 0%, 43.9%)
CIE-LABlab(29.10, 26.13, -47.40)
CIE-LCHlch(29.10, 54.12, 298.87°)
OKLaboklab(39.93% 0.0184 -0.1361)
OKLCHoklch(39.93% 0.137 277.7)
XYZxyz(8.1567, 5.8785, 26.6861)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393A8F #8F8E39
analogous
#39658F #393A8F #63398F
triadic
#393A8F #8F393A #3A8F39
tetradic
#393A8F #8F3965 #8F8E39 #398F63
square
#393A8F #8F3965 #8F8E39 #398F63
split-complementary
#393A8F #8F6339 #658F39
monochromatic
#161737 #282863 #393A8F #4D4EB8 #797ACA

Accessibility & contrast

On white

9.65
#393A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#393A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393A8F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393A8F#FFFFFF#000000##FFFFFF
##393A8F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #393a8f;
/* rgb */ color: rgb(57, 58, 143);
/* oklch */ color: oklch(39.9% 0.137 277.7);
Tailwind
colors: {
  custom: {
    50: '#7870b0',
    500: '#393a8f',
    950: '#000000',
  },
}
SCSS
$custom: #393a8f;
$custom-light: #7870b0;
$custom-dark: #000000;
JSON
{
  "hex": "#393a8f",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 239.302,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39934,
    "c": 0.13731,
    "h": 277.7
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#393A8F
secondary
#B3B271
accent
#D155D3
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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