#393FD9#393FD9

#393FD9 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.5% C 0.228 H 272.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#393FD9
RGBrgb(57, 63, 217)
HSLhsl(238, 68%, 54%)
HSVhsv(238, 74%, 85%)
CMYKcmyk(73.7%, 71%, 0%, 14.9%)
CIE-LABlab(36.80, 48.38, -78.74)
CIE-LCHlch(36.80, 92.42, 301.57°)
OKLaboklab(47.54% 0.0081 -0.2279)
OKLCHoklch(47.54% 0.228 272)
XYZxyz(15.9850, 9.4330, 66.6105)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FD9 #D9D339
analogous
#398FD9 #393FD9 #8339D9
triadic
#393FD9 #D9393F #3FD939
tetradic
#393FD9 #D9398F #D9D339 #39D983
square
#393FD9 #D9398F #D9D339 #39D983
split-complementary
#393FD9 #D98339 #8FD939
monochromatic
#181C7F #2228B3 #393FD9 #6C71E3 #A0A3ED

Accessibility & contrast

On white

7.27
#393FD9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#393FD9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FD9
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FD9#FFFFFF#000000##FFFFFF
##393FD91.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDE
Deuteranopia (green-blind)
#004FD6
Tritanopia (blue-blind)
#006A88
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #393fd9;
/* rgb */ color: rgb(57, 63, 217);
/* oklch */ color: oklch(47.5% 0.228 272.0);
Tailwind
colors: {
  custom: {
    50: '#8775e6',
    500: '#393fd9',
    950: '#000000',
  },
}
SCSS
$custom: #393fd9;
$custom-light: #8775e6;
$custom-dark: #000000;
JSON
{
  "hex": "#393fd9",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 237.75,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.47544,
    "c": 0.228,
    "h": 272
  },
  "luminance": 0.09435
}

Semantic roles & 50–950 ramp

primary
#393FD9
secondary
#D9D795
accent
#E43DEB
background
#F9F7FE
surface
#F1EDFD
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #393FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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