#393E8A#393E8A

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

Color values

HEX#393E8A
RGBrgb(57, 62, 138)
HSLhsl(236, 42%, 38%)
HSVhsv(236, 59%, 54%)
CMYKcmyk(58.7%, 55.1%, 0%, 45.9%)
CIE-LABlab(29.79, 21.73, -43.21)
CIE-LCHlch(29.79, 48.36, 296.70°)
OKLaboklab(40.33% 0.014 -0.1237)
OKLCHoklch(40.33% 0.125 276.4)
XYZxyz(7.9959, 6.1495, 24.8055)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393E8A #8A8539
analogous
#39668A #393E8A #5C398A
triadic
#393E8A #8A393E #3E8A39
tetradic
#393E8A #8A3966 #8A8539 #398A5C
square
#393E8A #8A3966 #8A8539 #398A5C
split-complementary
#393E8A #8A5C39 #668A39
monochromatic
#151733 #272B5F #393E8A #4B52B5 #777CC7

Accessibility & contrast

On white

9.42
#393E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#393E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393E8A
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393E8A#FFFFFF#000000##FFFFFF
##393E8A1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#074F5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #393e8a;
/* rgb */ color: rgb(57, 62, 138);
/* oklch */ color: oklch(40.3% 0.125 276.4);
Tailwind
colors: {
  custom: {
    50: '#7773ad',
    500: '#393e8a',
    950: '#000000',
  },
}
SCSS
$custom: #393e8a;
$custom-light: #7773ad;
$custom-dark: #000000;
JSON
{
  "hex": "#393e8a",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 236.296,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40325,
    "c": 0.12451,
    "h": 276.4
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#393E8A
secondary
#B0AC6F
accent
#CA56D1
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #393E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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