#393CC7#393CC7

#393CC7 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.3% C 0.209 H 273.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#393CC7
RGBrgb(57, 60, 199)
HSLhsl(239, 56%, 50%)
HSVhsv(239, 71%, 78%)
CMYKcmyk(71.4%, 69.8%, 0%, 22%)
CIE-LABlab(34.44, 44.14, -72.20)
CIE-LCHlch(34.44, 84.63, 301.44°)
OKLaboklab(45.33% 0.0122 -0.2088)
OKLCHoklch(45.33% 0.209 273.3)
XYZxyz(13.6086, 8.2238, 54.8919)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CC7 #C7C439
analogous
#3983C7 #393CC7 #7D39C7
triadic
#393CC7 #C7393C #3CC739
tetradic
#393CC7 #C73983 #C7C439 #39C77D
square
#393CC7 #C73983 #C7C439 #39C77D
split-complementary
#393CC7 #C77D39 #83C739
monochromatic
#1D1F68 #2B2D98 #393CC7 #696BD4 #989AE2

Accessibility & contrast

On white

7.94
#393CC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#393CC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CC7
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CC7#FFFFFF#000000##FFFFFF
##393CC71.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393cc7;
/* rgb */ color: rgb(57, 60, 199);
/* oklch */ color: oklch(45.3% 0.209 273.3);
Tailwind
colors: {
  custom: {
    50: '#8473d9',
    500: '#393cc7',
    950: '#000000',
  },
}
SCSS
$custom: #393cc7;
$custom-light: #8473d9;
$custom-dark: #000000;
JSON
{
  "hex": "#393cc7",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 238.732,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4533,
    "c": 0.20915,
    "h": 273.3
  },
  "luminance": 0.08225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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