#393DC6#393DC6

#393DC6 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.4% C 0.207 H 273.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#393DC6
RGBrgb(57, 61, 198)
HSLhsl(238, 55%, 50%)
HSVhsv(238, 71%, 78%)
CMYKcmyk(71.2%, 69.2%, 0%, 22.4%)
CIE-LABlab(34.57, 43.21, -71.42)
CIE-LCHlch(34.57, 83.48, 301.18°)
OKLaboklab(45.39% 0.0118 -0.2065)
OKLCHoklch(45.39% 0.207 273.3)
XYZxyz(13.5457, 8.2832, 54.3001)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DC6 #C6C239
analogous
#3983C6 #393DC6 #7C39C6
triadic
#393DC6 #C6393D #3DC639
tetradic
#393DC6 #C63983 #C6C239 #39C67C
square
#393DC6 #C63983 #C6C239 #39C67C
split-complementary
#393DC6 #C67C39 #83C639
monochromatic
#1E2067 #2B2E96 #393DC6 #696CD4 #989AE1

Accessibility & contrast

On white

7.90
#393DC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#393DC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DC6
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DC6#FFFFFF#000000##FFFFFF
##393DC61.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393dc6;
/* rgb */ color: rgb(57, 61, 198);
/* oklch */ color: oklch(45.4% 0.207 273.3);
Tailwind
colors: {
  custom: {
    50: '#8373d8',
    500: '#393dc6',
    950: '#000000',
  },
}
SCSS
$custom: #393dc6;
$custom-light: #8373d8;
$custom-dark: #000000;
JSON
{
  "hex": "#393dc6",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 238.298,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.45388,
    "c": 0.20683,
    "h": 273.3
  },
  "luminance": 0.08285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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