#393DD5#393DD5

#393DD5 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.9% C 0.225 H 272.5°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#393DD5
RGBrgb(57, 61, 213)
HSLhsl(238, 65%, 53%)
HSVhsv(238, 73%, 84%)
CMYKcmyk(73.2%, 71.4%, 0%, 16.5%)
CIE-LABlab(36.00, 48.21, -77.76)
CIE-LCHlch(36.00, 91.49, 301.80°)
OKLaboklab(46.85% 0.0097 -0.225)
OKLCHoklch(46.85% 0.225 272.5)
XYZxyz(15.3623, 9.0099, 63.8673)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DD5 #D5D139
analogous
#398BD5 #393DD5 #8339D5
triadic
#393DD5 #D5393D #3DD539
tetradic
#393DD5 #D5398B #D5D139 #39D583
square
#393DD5 #D5398B #D5D139 #39D583
split-complementary
#393DD5 #D58339 #8BD539
monochromatic
#1A1C7A #2528AC #393DD5 #6B6EE0 #9EA0EA

Accessibility & contrast

On white

7.49
#393DD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#393DD5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DD5
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DD5#FFFFFF#000000##FFFFFF
##393DD51.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393dd5;
/* rgb */ color: rgb(57, 61, 213);
/* oklch */ color: oklch(46.9% 0.225 272.5);
Tailwind
colors: {
  custom: {
    50: '#8774e3',
    500: '#393dd5',
    950: '#000000',
  },
}
SCSS
$custom: #393dd5;
$custom-light: #8774e3;
$custom-dark: #000000;
JSON
{
  "hex": "#393dd5",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 213
  },
  "hsl": {
    "h": 238.462,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.46853,
    "c": 0.2252,
    "h": 272.5
  },
  "luminance": 0.09011
}

Semantic roles & 50–950 ramp

primary
#393DD5
secondary
#D7D593
accent
#E440E8
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #393DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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