#393B97#393B97

#393B97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.147 H 276.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#393B97
RGBrgb(57, 59, 151)
HSLhsl(239, 45%, 41%)
HSVhsv(239, 62%, 59%)
CMYKcmyk(62.3%, 60.9%, 0%, 40.8%)
CIE-LABlab(29.99, 28.27, -50.86)
CIE-LCHlch(29.99, 58.19, 299.06°)
OKLaboklab(40.79% 0.0172 -0.1463)
OKLCHoklch(40.79% 0.147 276.7)
XYZxyz(8.8354, 6.2315, 30.0094)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393B97 #979539
analogous
#396A97 #393B97 #663997
triadic
#393B97 #97393B #3B9739
tetradic
#393B97 #97396A #979539 #399766
square
#393B97 #97396A #979539 #399766
split-complementary
#393B97 #976639 #6A9739
monochromatic
#17183E #282A6B #393B97 #5053BD #7D7ECE

Accessibility & contrast

On white

9.35
#393B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#393B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393B97
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393B97#FFFFFF#000000##FFFFFF
##393B971.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #393b97;
/* rgb */ color: rgb(57, 59, 151);
/* oklch */ color: oklch(40.8% 0.147 276.7);
Tailwind
colors: {
  custom: {
    50: '#7a71b6',
    500: '#393b97',
    950: '#000000',
  },
}
SCSS
$custom: #393b97;
$custom-light: #7a71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#393b97",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 238.723,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40787,
    "c": 0.14728,
    "h": 276.7
  },
  "luminance": 0.06232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393B97

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

Preview Lab → · Contrast checker → · Palette generator →

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