#393EC7#393EC7

#393EC7 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.6% C 0.207 H 273.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#393EC7
RGBrgb(57, 62, 199)
HSLhsl(238, 56%, 50%)
HSVhsv(238, 71%, 78%)
CMYKcmyk(71.4%, 68.8%, 0%, 22%)
CIE-LABlab(34.88, 42.96, -71.49)
CIE-LCHlch(34.88, 83.40, 301.00°)
OKLaboklab(45.64% 0.011 -0.2067)
OKLCHoklch(45.64% 0.207 273.1)
XYZxyz(13.7153, 8.4373, 54.9275)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EC7 #C7C239
analogous
#3985C7 #393EC7 #7B39C7
triadic
#393EC7 #C7393E #3EC739
tetradic
#393EC7 #C73985 #C7C239 #39C77B
square
#393EC7 #C73985 #C7C239 #39C77B
split-complementary
#393EC7 #C77B39 #85C739
monochromatic
#1D2068 #2B2F98 #393EC7 #696DD4 #989BE2

Accessibility & contrast

On white

7.81
#393EC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#393EC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EC7
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EC7#FFFFFF#000000##FFFFFF
##393EC71.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #393ec7;
/* rgb */ color: rgb(57, 62, 199);
/* oklch */ color: oklch(45.6% 0.207 273.1);
Tailwind
colors: {
  custom: {
    50: '#8374d9',
    500: '#393ec7',
    950: '#000000',
  },
}
SCSS
$custom: #393ec7;
$custom-light: #8374d9;
$custom-dark: #000000;
JSON
{
  "hex": "#393ec7",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 237.887,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45641,
    "c": 0.207,
    "h": 273.1
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#393EC7
secondary
#CECB8E
accent
#DA49DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #393EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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