#393A97#393A97

#393A97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.149 H 277.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#393A97
RGBrgb(57, 58, 151)
HSLhsl(239, 45%, 41%)
HSVhsv(239, 62%, 59%)
CMYKcmyk(62.3%, 61.6%, 0%, 40.8%)
CIE-LABlab(29.74, 28.92, -51.27)
CIE-LCHlch(29.74, 58.87, 299.42°)
OKLaboklab(40.6% 0.0182 -0.1475)
OKLCHoklch(40.6% 0.149 277)
XYZxyz(8.7845, 6.1297, 29.9924)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393A97 #979639
analogous
#396997 #393A97 #673997
triadic
#393A97 #97393A #3A9739
tetradic
#393A97 #973969 #979639 #399767
square
#393A97 #973969 #979639 #399767
split-complementary
#393A97 #976739 #699739
monochromatic
#17183E #28296B #393A97 #5051BD #7D7DCE

Accessibility & contrast

On white

9.43
#393A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#393A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393A97
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393A97#FFFFFF#000000##FFFFFF
##393A971.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #393a97;
/* rgb */ color: rgb(57, 58, 151);
/* oklch */ color: oklch(40.6% 0.149 277.0);
Tailwind
colors: {
  custom: {
    50: '#7a70b6',
    500: '#393a97',
    950: '#000000',
  },
}
SCSS
$custom: #393a97;
$custom-light: #7a70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#393a97",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 239.362,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40602,
    "c": 0.1486,
    "h": 277
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#393A97
secondary
#B7B675
accent
#D353D5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393A97

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

Preview Lab → · Contrast checker → · Palette generator →

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