#393B8A#393B8A

#393B8A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.129 H 277.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#393B8A
RGBrgb(57, 59, 138)
HSLhsl(239, 42%, 38%)
HSVhsv(239, 59%, 54%)
CMYKcmyk(58.7%, 57.2%, 0%, 45.9%)
CIE-LABlab(28.99, 23.73, -44.50)
CIE-LCHlch(28.99, 50.43, 298.06°)
OKLaboklab(39.73% 0.0172 -0.1276)
OKLCHoklch(39.73% 0.129 277.7)
XYZxyz(7.8373, 5.8322, 24.7526)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393B8A #8A8839
analogous
#39638A #393B8A #5F398A
triadic
#393B8A #8A393B #3B8A39
tetradic
#393B8A #8A3963 #8A8839 #398A5F
square
#393B8A #8A3963 #8A8839 #398A5F
split-complementary
#393B8A #8A5F39 #638A39
monochromatic
#151633 #27285F #393B8A #4B4EB5 #7779C7

Accessibility & contrast

On white

9.69
#393B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#393B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393B8A
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393B8A#FFFFFF#000000##FFFFFF
##393B8A1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01488D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#084D5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #393b8a;
/* rgb */ color: rgb(57, 59, 138);
/* oklch */ color: oklch(39.7% 0.129 277.7);
Tailwind
colors: {
  custom: {
    50: '#7771ad',
    500: '#393b8a',
    950: '#000000',
  },
}
SCSS
$custom: #393b8a;
$custom-light: #7771ad;
$custom-dark: #000000;
JSON
{
  "hex": "#393b8a",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 238.519,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39726,
    "c": 0.12872,
    "h": 277.7
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#393B8A
secondary
#B0AE6F
accent
#CE56D1
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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