#393FA7#393FA7

#393FA7 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.9% C 0.164 H 274.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#393FA7
RGBrgb(57, 63, 167)
HSLhsl(237, 49%, 44%)
HSVhsv(237, 66%, 65%)
CMYKcmyk(65.9%, 62.3%, 0%, 34.5%)
CIE-LABlab(32.29, 31.29, -56.80)
CIE-LCHlch(32.29, 64.85, 298.85°)
OKLaboklab(42.89% 0.0131 -0.1637)
OKLCHoklch(42.89% 0.164 274.6)
XYZxyz(10.4376, 7.2140, 37.3941)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FA7 #A7A139
analogous
#3976A7 #393FA7 #6A39A7
triadic
#393FA7 #A7393F #3FA739
tetradic
#393FA7 #A73976 #A7A139 #39A76A
square
#393FA7 #A73976 #A7A139 #39A76A
split-complementary
#393FA7 #A76A39 #76A739
monochromatic
#1A1D4C #292E79 #393FA7 #575DC6 #8589D5

Accessibility & contrast

On white

8.60
#393FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#393FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FA7
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FA7#FFFFFF#000000##FFFFFF
##393FA71.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #393fa7;
/* rgb */ color: rgb(57, 63, 167);
/* oklch */ color: oklch(42.9% 0.164 274.6);
Tailwind
colors: {
  custom: {
    50: '#7d74c2',
    500: '#393fa7',
    950: '#000000',
  },
}
SCSS
$custom: #393fa7;
$custom-light: #7d74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#393fa7",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 236.727,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42889,
    "c": 0.1642,
    "h": 274.6
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#393FA7
secondary
#BFBC7D
accent
#D14FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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