#393DB4#393DB4

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

Color values

HEX#393DB4
RGBrgb(57, 61, 180)
HSLhsl(238, 52%, 46%)
HSVhsv(238, 68%, 71%)
CMYKcmyk(68.3%, 66.1%, 0%, 29.4%)
CIE-LABlab(32.92, 37.08, -63.52)
CIE-LCHlch(32.92, 73.55, 300.27°)
OKLaboklab(43.7% 0.0138 -0.1834)
OKLCHoklch(43.7% 0.184 274.3)
XYZxyz(11.5916, 7.5016, 44.0082)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DB4 #B4B039
analogous
#397BB4 #393DB4 #7339B4
triadic
#393DB4 #B4393D #3DB439
tetradic
#393DB4 #B4397B #B4B039 #39B473
square
#393DB4 #B4397B #B4B039 #39B473
split-complementary
#393DB4 #B47339 #7BB439
monochromatic
#1C1D57 #2A2D86 #393DB4 #5E62CC #8D8FDB

Accessibility & contrast

On white

8.40
#393DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393DB4
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DB4#FFFFFF#000000##FFFFFF
##393DB41.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #393db4;
/* rgb */ color: rgb(57, 61, 180);
/* oklch */ color: oklch(43.7% 0.184 274.3);
Tailwind
colors: {
  custom: {
    50: '#7f73cb',
    500: '#393db4',
    950: '#000000',
  },
}
SCSS
$custom: #393db4;
$custom-light: #7f73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#393db4",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 180
  },
  "hsl": {
    "h": 238.049,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43697,
    "c": 0.18393,
    "h": 274.3
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#393DB4
secondary
#C5C383
accent
#D74CDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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