#393DB5#393DB5

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

Color values

HEX#393DB5
RGBrgb(57, 61, 181)
HSLhsl(238, 52%, 47%)
HSVhsv(238, 69%, 71%)
CMYKcmyk(68.5%, 66.3%, 0%, 29%)
CIE-LABlab(33.01, 37.43, -63.97)
CIE-LCHlch(33.01, 74.11, 300.33°)
OKLaboklab(43.79% 0.0137 -0.1847)
OKLCHoklch(43.79% 0.185 274.2)
XYZxyz(11.6938, 7.5425, 44.5467)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DB5 #B5B139
analogous
#397BB5 #393DB5 #7339B5
triadic
#393DB5 #B5393D #3DB539
tetradic
#393DB5 #B5397B #B5B139 #39B573
square
#393DB5 #B5397B #B5B139 #39B573
split-complementary
#393DB5 #B57339 #7BB539
monochromatic
#1C1E58 #2A2D86 #393DB5 #5F62CD #8D90DB

Accessibility & contrast

On white

8.37
#393DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#393DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DB5
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DB5#FFFFFF#000000##FFFFFF
##393DB51.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #393db5;
/* rgb */ color: rgb(57, 61, 181);
/* oklch */ color: oklch(43.8% 0.185 274.2);
Tailwind
colors: {
  custom: {
    50: '#8073cc',
    500: '#393db5',
    950: '#000000',
  },
}
SCSS
$custom: #393db5;
$custom-light: #8073cc;
$custom-dark: #000000;
JSON
{
  "hex": "#393db5",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 238.065,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43789,
    "c": 0.18522,
    "h": 274.2
  },
  "luminance": 0.07544
}

Semantic roles & 50–950 ramp

primary
#393DB5
secondary
#C6C484
accent
#D74CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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