#393CB7#393CB7

#393CB7 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.8% C 0.189 H 274.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#393CB7
RGBrgb(57, 60, 183)
HSLhsl(239, 53%, 47%)
HSVhsv(239, 69%, 72%)
CMYKcmyk(68.9%, 67.2%, 0%, 28.2%)
CIE-LABlab(32.96, 38.73, -65.24)
CIE-LCHlch(32.96, 75.87, 300.69°)
OKLaboklab(43.81% 0.0142 -0.1884)
OKLCHoklch(43.81% 0.189 274.3)
XYZxyz(11.8476, 7.5194, 45.6176)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CB7 #B7B439
analogous
#397BB7 #393CB7 #7539B7
triadic
#393CB7 #B7393C #3CB739
tetradic
#393CB7 #B7397B #B7B439 #39B775
square
#393CB7 #B7397B #B7B439 #39B775
split-complementary
#393CB7 #B77539 #7BB739
monochromatic
#1C1D5A #2A2D88 #393CB7 #6062CD #8E90DC

Accessibility & contrast

On white

8.39
#393CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#393CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CB7
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CB7#FFFFFF#000000##FFFFFF
##393CB71.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0048B5
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #393cb7;
/* rgb */ color: rgb(57, 60, 183);
/* oklch */ color: oklch(43.8% 0.189 274.3);
Tailwind
colors: {
  custom: {
    50: '#8072ce',
    500: '#393cb7',
    950: '#000000',
  },
}
SCSS
$custom: #393cb7;
$custom-light: #8072ce;
$custom-dark: #000000;
JSON
{
  "hex": "#393cb7",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 238.571,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43807,
    "c": 0.18896,
    "h": 274.3
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#393CB7
secondary
#C7C585
accent
#D84CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #393CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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