#393DB8#393DB8

#393DB8 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.1% C 0.189 H 274.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#393DB8
RGBrgb(57, 61, 184)
HSLhsl(238, 53%, 47%)
HSVhsv(238, 69%, 72%)
CMYKcmyk(69%, 66.8%, 0%, 27.8%)
CIE-LABlab(33.28, 38.46, -65.31)
CIE-LCHlch(33.28, 75.79, 300.49°)
OKLaboklab(44.07% 0.0134 -0.1886)
OKLCHoklch(44.07% 0.189 274.1)
XYZxyz(12.0049, 7.6669, 46.1853)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DB8 #B8B439
analogous
#397DB8 #393DB8 #7439B8
triadic
#393DB8 #B8393D #3DB839
tetradic
#393DB8 #B8397D #B8B439 #39B874
square
#393DB8 #B8397D #B8B439 #39B874
split-complementary
#393DB8 #B87439 #7DB839
monochromatic
#1C1E5B #2B2E89 #393DB8 #6064CE #8F92DC

Accessibility & contrast

On white

8.29
#393DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393DB8
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DB8#FFFFFF#000000##FFFFFF
##393DB81.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0048B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #393db8;
/* rgb */ color: rgb(57, 61, 184);
/* oklch */ color: oklch(44.1% 0.189 274.1);
Tailwind
colors: {
  custom: {
    50: '#8073ce',
    500: '#393db8',
    950: '#000000',
  },
}
SCSS
$custom: #393db8;
$custom-light: #8073ce;
$custom-dark: #000000;
JSON
{
  "hex": "#393db8",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 238.11,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44066,
    "c": 0.1891,
    "h": 274.1
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#393DB8
secondary
#C7C586
accent
#D84CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #393DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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