#393DD9#393DD9

#393DD9 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.3% C 0.230 H 272.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#393DD9
RGBrgb(57, 61, 217)
HSLhsl(239, 68%, 54%)
HSVhsv(239, 74%, 85%)
CMYKcmyk(73.7%, 71.9%, 0%, 14.9%)
CIE-LABlab(36.40, 49.52, -79.41)
CIE-LCHlch(36.40, 93.59, 301.95°)
OKLaboklab(47.25% 0.0091 -0.2298)
OKLCHoklch(47.25% 0.23 272.3)
XYZxyz(15.8763, 9.2154, 66.5742)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DD9 #D9D539
analogous
#398DD9 #393DD9 #8539D9
triadic
#393DD9 #D9393D #3DD939
tetradic
#393DD9 #D9398D #D9D539 #39D985
square
#393DD9 #D9398D #D9D539 #39D985
split-complementary
#393DD9 #D98539 #8DD939
monochromatic
#181B7F #2226B3 #393DD9 #6C6FE3 #A0A2ED

Accessibility & contrast

On white

7.39
#393DD9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#393DD9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DD9
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DD9#FFFFFF#000000##FFFFFF
##393DD91.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDE
Deuteranopia (green-blind)
#004ED6
Tritanopia (blue-blind)
#006987
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #393dd9;
/* rgb */ color: rgb(57, 61, 217);
/* oklch */ color: oklch(47.3% 0.230 272.3);
Tailwind
colors: {
  custom: {
    50: '#8874e6',
    500: '#393dd9',
    950: '#000000',
  },
}
SCSS
$custom: #393dd9;
$custom-light: #8874e6;
$custom-dark: #000000;
JSON
{
  "hex": "#393dd9",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 238.5,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.47251,
    "c": 0.23,
    "h": 272.3
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#393DD9
secondary
#D9D795
accent
#E63DEB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #393DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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