#393ED5#393ED5

#393ED5 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.0% C 0.224 H 272.3°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#393ED5
RGBrgb(57, 62, 213)
HSLhsl(238, 65%, 53%)
HSVhsv(238, 73%, 84%)
CMYKcmyk(73.2%, 70.9%, 0%, 16.5%)
CIE-LABlab(36.21, 47.64, -77.42)
CIE-LCHlch(36.21, 90.90, 301.60°)
OKLaboklab(47% 0.0092 -0.224)
OKLCHoklch(47% 0.224 272.3)
XYZxyz(15.4162, 9.1176, 63.8853)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393ED5 #D5D039
analogous
#398CD5 #393ED5 #8239D5
triadic
#393ED5 #D5393E #3ED539
tetradic
#393ED5 #D5398C #D5D039 #39D582
square
#393ED5 #D5398C #D5D039 #39D582
split-complementary
#393ED5 #D58239 #8CD539
monochromatic
#1A1D7A #2529AC #393ED5 #6B6FE0 #9EA0EA

Accessibility & contrast

On white

7.44
#393ED5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#393ED5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393ED5
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393ED5#FFFFFF#000000##FFFFFF
##393ED51.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDA
Deuteranopia (green-blind)
#004ED2
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #393ed5;
/* rgb */ color: rgb(57, 62, 213);
/* oklch */ color: oklch(47.0% 0.224 272.3);
Tailwind
colors: {
  custom: {
    50: '#8774e3',
    500: '#393ed5',
    950: '#000000',
  },
}
SCSS
$custom: #393ed5;
$custom-light: #8774e3;
$custom-dark: #000000;
JSON
{
  "hex": "#393ed5",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 238.077,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47001,
    "c": 0.22419,
    "h": 272.3
  },
  "luminance": 0.09119
}

Semantic roles & 50–950 ramp

primary
#393ED5
secondary
#D7D493
accent
#E340E8
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #393ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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