#393A8A#393A8A

#393A8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.130 H 278.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#393A8A
RGBrgb(57, 58, 138)
HSLhsl(239, 42%, 38%)
HSVhsv(239, 59%, 54%)
CMYKcmyk(58.7%, 58%, 0%, 45.9%)
CIE-LABlab(28.72, 24.39, -44.93)
CIE-LCHlch(28.72, 51.12, 298.49°)
OKLaboklab(39.53% 0.0183 -0.1288)
OKLCHoklch(39.53% 0.13 278.1)
XYZxyz(7.7864, 5.7304, 24.7356)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393A8A #8A8939
analogous
#39628A #393A8A #60398A
triadic
#393A8A #8A393A #3A8A39
tetradic
#393A8A #8A3962 #8A8939 #398A60
square
#393A8A #8A3962 #8A8939 #398A60
split-complementary
#393A8A #8A6039 #628A39
monochromatic
#151633 #27285F #393A8A #4B4DB5 #7778C7

Accessibility & contrast

On white

9.78
#393A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#393A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393A8A
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393A8A#FFFFFF#000000##FFFFFF
##393A8A1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#094D5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #393a8a;
/* rgb */ color: rgb(57, 58, 138);
/* oklch */ color: oklch(39.5% 0.130 278.1);
Tailwind
colors: {
  custom: {
    50: '#7770ad',
    500: '#393a8a',
    950: '#000000',
  },
}
SCSS
$custom: #393a8a;
$custom-light: #7770ad;
$custom-dark: #000000;
JSON
{
  "hex": "#393a8a",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 239.259,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3953,
    "c": 0.13012,
    "h": 278.1
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#393A8A
secondary
#B0AF6F
accent
#D056D1
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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