#393DB7#393DB7

#393DB7 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.0% C 0.188 H 274.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#393DB7
RGBrgb(57, 61, 183)
HSLhsl(238, 53%, 47%)
HSVhsv(238, 69%, 72%)
CMYKcmyk(68.9%, 66.7%, 0%, 28.2%)
CIE-LABlab(33.19, 38.11, -64.86)
CIE-LCHlch(33.19, 75.23, 300.44°)
OKLaboklab(43.97% 0.0135 -0.1873)
OKLCHoklch(43.97% 0.188 274.1)
XYZxyz(11.9005, 7.6251, 45.6352)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DB7 #B7B339
analogous
#397CB7 #393DB7 #7439B7
triadic
#393DB7 #B7393D #3DB739
tetradic
#393DB7 #B7397C #B7B339 #39B774
square
#393DB7 #B7397C #B7B339 #39B774
split-complementary
#393DB7 #B77439 #7CB739
monochromatic
#1C1E5A #2A2D88 #393DB7 #6063CD #8E91DC

Accessibility & contrast

On white

8.32
#393DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#393DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DB7
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DB7#FFFFFF#000000##FFFFFF
##393DB71.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393db7;
/* rgb */ color: rgb(57, 61, 183);
/* oklch */ color: oklch(44.0% 0.188 274.1);
Tailwind
colors: {
  custom: {
    50: '#8073ce',
    500: '#393db7',
    950: '#000000',
  },
}
SCSS
$custom: #393db7;
$custom-light: #8073ce;
$custom-dark: #000000;
JSON
{
  "hex": "#393db7",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 238.095,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43973,
    "c": 0.18781,
    "h": 274.1
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#393DB7
secondary
#C7C585
accent
#D74CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #393DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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