#393FA6#393FA6

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

Color values

HEX#393FA6
RGBrgb(57, 63, 166)
HSLhsl(237, 49%, 44%)
HSVhsv(237, 66%, 65%)
CMYKcmyk(65.7%, 62%, 0%, 34.9%)
CIE-LABlab(32.21, 30.94, -56.34)
CIE-LCHlch(32.21, 64.27, 298.78°)
OKLaboklab(42.8% 0.0131 -0.1623)
OKLCHoklch(42.8% 0.163 274.6)
XYZxyz(10.3455, 7.1772, 36.9091)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FA6 #A6A039
analogous
#3975A6 #393FA6 #6939A6
triadic
#393FA6 #A6393F #3FA639
tetradic
#393FA6 #A63975 #A6A039 #39A669
square
#393FA6 #A63975 #A6A039 #39A669
split-complementary
#393FA6 #A66939 #75A639
monochromatic
#1A1C4B #292E78 #393FA6 #575DC5 #8489D5

Accessibility & contrast

On white

8.62
#393FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393FA6
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FA6#FFFFFF#000000##FFFFFF
##393FA61.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #393fa6;
/* rgb */ color: rgb(57, 63, 166);
/* oklch */ color: oklch(42.8% 0.163 274.6);
Tailwind
colors: {
  custom: {
    50: '#7c74c1',
    500: '#393fa6',
    950: '#000000',
  },
}
SCSS
$custom: #393fa6;
$custom-light: #7c74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#393fa6",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 236.697,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42803,
    "c": 0.16284,
    "h": 274.6
  },
  "luminance": 0.07178
}

Semantic roles & 50–950 ramp

primary
#393FA6
secondary
#BFBB7C
accent
#D14FD8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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