#393AC7#393AC7

#393AC7 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.0% C 0.211 H 273.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#393AC7
RGBrgb(57, 58, 199)
HSLhsl(240, 56%, 50%)
HSVhsv(240, 71%, 78%)
CMYKcmyk(71.4%, 70.9%, 0%, 22%)
CIE-LABlab(34.02, 45.31, -72.90)
CIE-LCHlch(34.02, 85.83, 301.86°)
OKLaboklab(45.03% 0.0133 -0.2108)
OKLCHoklch(45.03% 0.211 273.6)
XYZxyz(13.5058, 8.0182, 54.8576)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AC7 #C7C639
analogous
#3981C7 #393AC7 #7F39C7
triadic
#393AC7 #C7393A #3AC739
tetradic
#393AC7 #C73981 #C7C639 #39C77F
square
#393AC7 #C73981 #C7C639 #39C77F
split-complementary
#393AC7 #C77F39 #81C739
monochromatic
#1D1E68 #2B2C98 #393AC7 #6969D4 #9899E2

Accessibility & contrast

On white

8.07
#393AC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#393AC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AC7
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AC7#FFFFFF#000000##FFFFFF
##393AC71.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#0049C4
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #393ac7;
/* rgb */ color: rgb(57, 58, 199);
/* oklch */ color: oklch(45.0% 0.211 273.6);
Tailwind
colors: {
  custom: {
    50: '#8471d9',
    500: '#393ac7',
    950: '#000000',
  },
}
SCSS
$custom: #393ac7;
$custom-light: #8471d9;
$custom-dark: #000000;
JSON
{
  "hex": "#393ac7",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 239.577,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45025,
    "c": 0.21124,
    "h": 273.6
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#393AC7
secondary
#CECD8E
accent
#DE49DF
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #393AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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