#393AC6#393AC6

#393AC6 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 44.9% C 0.210 H 273.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#393AC6
RGBrgb(57, 58, 198)
HSLhsl(240, 55%, 50%)
HSVhsv(240, 71%, 78%)
CMYKcmyk(71.2%, 70.7%, 0%, 22.4%)
CIE-LABlab(33.92, 44.98, -72.48)
CIE-LCHlch(33.92, 85.30, 301.82°)
OKLaboklab(44.93% 0.0135 -0.2096)
OKLCHoklch(44.93% 0.21 273.7)
XYZxyz(13.3900, 7.9719, 54.2482)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AC6 #C6C539
analogous
#3981C6 #393AC6 #7E39C6
triadic
#393AC6 #C6393A #3AC639
tetradic
#393AC6 #C63981 #C6C539 #39C67E
square
#393AC6 #C63981 #C6C539 #39C67E
split-complementary
#393AC6 #C67E39 #81C639
monochromatic
#1E1E67 #2B2C96 #393AC6 #6969D4 #9899E1

Accessibility & contrast

On white

8.09
#393AC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#393AC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AC6
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AC6#FFFFFF#000000##FFFFFF
##393AC61.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #393ac6;
/* rgb */ color: rgb(57, 58, 198);
/* oklch */ color: oklch(44.9% 0.210 273.7);
Tailwind
colors: {
  custom: {
    50: '#8471d9',
    500: '#393ac6',
    950: '#000000',
  },
}
SCSS
$custom: #393ac6;
$custom-light: #8471d9;
$custom-dark: #000000;
JSON
{
  "hex": "#393ac6",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 239.574,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.44927,
    "c": 0.21001,
    "h": 273.7
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#393AC6
secondary
#CDCD8E
accent
#DE49DF
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #393AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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