#393D8A#393D8A

#393D8A is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.126 H 276.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#393D8A
RGBrgb(57, 61, 138)
HSLhsl(237, 42%, 38%)
HSVhsv(237, 59%, 54%)
CMYKcmyk(58.7%, 55.8%, 0%, 45.9%)
CIE-LABlab(29.52, 22.40, -43.64)
CIE-LCHlch(29.52, 49.05, 297.17°)
OKLaboklab(40.12% 0.0151 -0.125)
OKLCHoklch(40.12% 0.126 276.9)
XYZxyz(7.9421, 6.0418, 24.7875)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393D8A #8A8639
analogous
#39658A #393D8A #5D398A
triadic
#393D8A #8A393D #3D8A39
tetradic
#393D8A #8A3965 #8A8639 #398A5D
square
#393D8A #8A3965 #8A8639 #398A5D
split-complementary
#393D8A #8A5D39 #658A39
monochromatic
#151733 #272A5F #393D8A #4B51B5 #777BC7

Accessibility & contrast

On white

9.51
#393D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#393D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393D8A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393D8A#FFFFFF#000000##FFFFFF
##393D8A1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B498D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#084F5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #393d8a;
/* rgb */ color: rgb(57, 61, 138);
/* oklch */ color: oklch(40.1% 0.126 276.9);
Tailwind
colors: {
  custom: {
    50: '#7772ad',
    500: '#393d8a',
    950: '#000000',
  },
}
SCSS
$custom: #393d8a;
$custom-light: #7772ad;
$custom-dark: #000000;
JSON
{
  "hex": "#393d8a",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 237.037,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40123,
    "c": 0.12591,
    "h": 276.9
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#393D8A
secondary
#B0AD6F
accent
#CB56D1
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #393D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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