#393DC7#393DC7

#393DC7 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.5% C 0.208 H 273.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#393DC7
RGBrgb(57, 61, 199)
HSLhsl(238, 56%, 50%)
HSVhsv(238, 71%, 78%)
CMYKcmyk(71.4%, 69.3%, 0%, 22%)
CIE-LABlab(34.66, 43.55, -71.85)
CIE-LCHlch(34.66, 84.02, 301.22°)
OKLaboklab(45.49% 0.0116 -0.2078)
OKLCHoklch(45.49% 0.208 273.2)
XYZxyz(13.6614, 8.3295, 54.9095)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DC7 #C7C339
analogous
#3984C7 #393DC7 #7C39C7
triadic
#393DC7 #C7393D #3DC739
tetradic
#393DC7 #C73984 #C7C339 #39C77C
square
#393DC7 #C73984 #C7C339 #39C77C
split-complementary
#393DC7 #C77C39 #84C739
monochromatic
#1D2068 #2B2E98 #393DC7 #696CD4 #989AE2

Accessibility & contrast

On white

7.88
#393DC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#393DC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DC7
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DC7#FFFFFF#000000##FFFFFF
##393DC71.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #393dc7;
/* rgb */ color: rgb(57, 61, 199);
/* oklch */ color: oklch(45.5% 0.208 273.2);
Tailwind
colors: {
  custom: {
    50: '#8473d9',
    500: '#393dc7',
    950: '#000000',
  },
}
SCSS
$custom: #393dc7;
$custom-light: #8473d9;
$custom-dark: #000000;
JSON
{
  "hex": "#393dc7",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 238.31,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45485,
    "c": 0.20808,
    "h": 273.2
  },
  "luminance": 0.08331
}

Semantic roles & 50–950 ramp

primary
#393DC7
secondary
#CECC8E
accent
#DB49DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #393DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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