#393C97#393C97

#393C97 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.146 H 276.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#393C97
RGBrgb(57, 60, 151)
HSLhsl(238, 45%, 41%)
HSVhsv(238, 62%, 59%)
CMYKcmyk(62.3%, 60.3%, 0%, 40.8%)
CIE-LABlab(30.24, 27.62, -50.45)
CIE-LCHlch(30.24, 57.52, 298.70°)
OKLaboklab(40.98% 0.0163 -0.1451)
OKLCHoklch(40.98% 0.146 276.4)
XYZxyz(8.8873, 6.3352, 30.0266)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393C97 #979439
analogous
#396B97 #393C97 #653997
triadic
#393C97 #97393C #3C9739
tetradic
#393C97 #97396B #979439 #399765
square
#393C97 #97396B #979439 #399765
split-complementary
#393C97 #976539 #6B9739
monochromatic
#17193E #282A6B #393C97 #5054BD #7D7FCE

Accessibility & contrast

On white

9.26
#393C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#393C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393C97
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393C97#FFFFFF#000000##FFFFFF
##393C971.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393c97;
/* rgb */ color: rgb(57, 60, 151);
/* oklch */ color: oklch(41.0% 0.146 276.4);
Tailwind
colors: {
  custom: {
    50: '#7a71b6',
    500: '#393c97',
    950: '#000000',
  },
}
SCSS
$custom: #393c97;
$custom-light: #7a71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#393c97",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 238.085,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40975,
    "c": 0.14596,
    "h": 276.4
  },
  "luminance": 0.06336
}

Semantic roles & 50–950 ramp

primary
#393C97
secondary
#B7B575
accent
#D153D5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393C97

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

Preview Lab → · Contrast checker → · Palette generator →

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