#393FD5#393FD5

#393FD5 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.2% C 0.223 H 272.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#393FD5
RGBrgb(57, 63, 213)
HSLhsl(238, 65%, 53%)
HSVhsv(238, 73%, 84%)
CMYKcmyk(73.2%, 70.4%, 0%, 16.5%)
CIE-LABlab(36.42, 47.06, -77.07)
CIE-LCHlch(36.42, 90.30, 301.41°)
OKLaboklab(47.15% 0.0087 -0.223)
OKLCHoklch(47.15% 0.223 272.2)
XYZxyz(15.4710, 9.2274, 63.9036)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FD5 #D5CF39
analogous
#398DD5 #393FD5 #8139D5
triadic
#393FD5 #D5393F #3FD539
tetradic
#393FD5 #D5398D #D5CF39 #39D581
square
#393FD5 #D5398D #D5CF39 #39D581
split-complementary
#393FD5 #D58139 #8DD539
monochromatic
#1A1E7A #252AAC #393FD5 #6B70E0 #9EA1EA

Accessibility & contrast

On white

7.38
#393FD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#393FD5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FD5
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FD5#FFFFFF#000000##FFFFFF
##393FD51.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD9
Deuteranopia (green-blind)
#004ED2
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #393fd5;
/* rgb */ color: rgb(57, 63, 213);
/* oklch */ color: oklch(47.2% 0.223 272.2);
Tailwind
colors: {
  custom: {
    50: '#8775e3',
    500: '#393fd5',
    950: '#000000',
  },
}
SCSS
$custom: #393fd5;
$custom-light: #8775e3;
$custom-dark: #000000;
JSON
{
  "hex": "#393fd5",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 237.692,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.22318,
    "h": 272.2
  },
  "luminance": 0.09229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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