#393C8A#393C8A

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

Color values

HEX#393C8A
RGBrgb(57, 60, 138)
HSLhsl(238, 42%, 38%)
HSVhsv(238, 59%, 54%)
CMYKcmyk(58.7%, 56.5%, 0%, 45.9%)
CIE-LABlab(29.25, 23.06, -44.07)
CIE-LCHlch(29.25, 49.74, 297.62°)
OKLaboklab(39.92% 0.0162 -0.1263)
OKLCHoklch(39.92% 0.127 277.3)
XYZxyz(7.8892, 5.9360, 24.7699)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393C8A #8A8739
analogous
#39648A #393C8A #5E398A
triadic
#393C8A #8A393C #3C8A39
tetradic
#393C8A #8A3964 #8A8739 #398A5E
square
#393C8A #8A3964 #8A8739 #398A5E
split-complementary
#393C8A #8A5E39 #648A39
monochromatic
#151633 #27295F #393C8A #4B4FB5 #777AC7

Accessibility & contrast

On white

9.60
#393C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#393C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393C8A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393C8A#FFFFFF#000000##FFFFFF
##393C8A1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06488D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#084E5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #393c8a;
/* rgb */ color: rgb(57, 60, 138);
/* oklch */ color: oklch(39.9% 0.127 277.3);
Tailwind
colors: {
  custom: {
    50: '#7771ad',
    500: '#393c8a',
    950: '#000000',
  },
}
SCSS
$custom: #393c8a;
$custom-light: #7771ad;
$custom-dark: #000000;
JSON
{
  "hex": "#393c8a",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 237.778,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39924,
    "c": 0.12732,
    "h": 277.3
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#393C8A
secondary
#B0AD6F
accent
#CD56D1
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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