#393AD9#393AD9

#393AD9 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.8% C 0.233 H 272.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#393AD9
RGBrgb(57, 58, 217)
HSLhsl(240, 68%, 54%)
HSVhsv(240, 74%, 85%)
CMYKcmyk(73.7%, 73.3%, 0%, 14.9%)
CIE-LABlab(35.80, 51.19, -80.40)
CIE-LCHlch(35.80, 95.31, 302.48°)
OKLaboklab(46.83% 0.0105 -0.2327)
OKLCHoklch(46.83% 0.233 272.6)
XYZxyz(15.7206, 8.9041, 66.5223)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AD9 #D9D839
analogous
#398AD9 #393AD9 #8839D9
triadic
#393AD9 #D9393A #3AD939
tetradic
#393AD9 #D9398A #D9D839 #39D988
square
#393AD9 #D9398A #D9D839 #39D988
split-complementary
#393AD9 #D98839 #8AD939
monochromatic
#18197F #2223B3 #393AD9 #6C6DE3 #A0A0ED

Accessibility & contrast

On white

7.55
#393AD9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#393AD9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AD9
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AD9#FFFFFF#000000##FFFFFF
##393AD91.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDE
Deuteranopia (green-blind)
#004CD6
Tritanopia (blue-blind)
#006886
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #393ad9;
/* rgb */ color: rgb(57, 58, 217);
/* oklch */ color: oklch(46.8% 0.233 272.6);
Tailwind
colors: {
  custom: {
    50: '#8872e6',
    500: '#393ad9',
    950: '#000000',
  },
}
SCSS
$custom: #393ad9;
$custom-light: #8872e6;
$custom-dark: #000000;
JSON
{
  "hex": "#393ad9",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 217
  },
  "hsl": {
    "h": 239.625,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.46826,
    "c": 0.23291,
    "h": 272.6
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#393AD9
secondary
#D9D995
accent
#EA3DEB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #393AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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