#393A89#393A89

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

Color values

HEX#393A89
RGBrgb(57, 58, 137)
HSLhsl(239, 41%, 38%)
HSVhsv(239, 58%, 54%)
CMYKcmyk(58.4%, 57.7%, 0%, 46.3%)
CIE-LABlab(28.65, 24.04, -44.43)
CIE-LCHlch(28.65, 50.52, 298.42°)
OKLaboklab(39.45% 0.0183 -0.1274)
OKLCHoklch(39.45% 0.129 278.2)
XYZxyz(7.7143, 5.7016, 24.3561)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393A89 #898839
analogous
#396289 #393A89 #603989
triadic
#393A89 #89393A #3A8939
tetradic
#393A89 #893962 #898839 #398960
square
#393A89 #893962 #898839 #398960
split-complementary
#393A89 #896039 #628939
monochromatic
#151533 #27285E #393A89 #4B4CB4 #7677C6

Accessibility & contrast

On white

9.81
#393A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#393A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393A89
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393A89#FFFFFF#000000##FFFFFF
##393A891.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#0B4C5B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #393a89;
/* rgb */ color: rgb(57, 58, 137);
/* oklch */ color: oklch(39.5% 0.129 278.2);
Tailwind
colors: {
  custom: {
    50: '#7770ac',
    500: '#393a89',
    950: '#000000',
  },
}
SCSS
$custom: #393a89;
$custom-light: #7770ac;
$custom-dark: #000000;
JSON
{
  "hex": "#393a89",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 239.25,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3945,
    "c": 0.12867,
    "h": 278.2
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#393A89
secondary
#AFAE6F
accent
#D057D1
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393A89

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

Preview Lab → · Contrast checker → · Palette generator →

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