#393DCC#393DCC

#393DCC is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.0% C 0.214 H 272.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#393DCC
RGBrgb(57, 61, 204)
HSLhsl(238, 59%, 51%)
HSVhsv(238, 72%, 80%)
CMYKcmyk(72.1%, 70.1%, 0%, 20%)
CIE-LABlab(35.13, 45.23, -73.98)
CIE-LCHlch(35.13, 86.71, 301.44°)
OKLaboklab(45.97% 0.011 -0.214)
OKLCHoklch(45.97% 0.214 272.9)
XYZxyz(14.2515, 8.5655, 58.0173)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DCC #CCC839
analogous
#3986CC #393DCC #7E39CC
triadic
#393DCC #CC393D #3DCC39
tetradic
#393DCC #CC3986 #CCC839 #39CC7E
square
#393DCC #CC3986 #CCC839 #39CC7E
split-complementary
#393DCC #CC7E39 #86CC39
monochromatic
#1C1F6E #292C9F #393DCC #6A6DD9 #9A9CE5

Accessibility & contrast

On white

7.74
#393DCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#393DCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DCC
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DCC#FFFFFF#000000##FFFFFF
##393DCC1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#004CC9
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #393dcc;
/* rgb */ color: rgb(57, 61, 204);
/* oklch */ color: oklch(46.0% 0.214 272.9);
Tailwind
colors: {
  custom: {
    50: '#8573dd',
    500: '#393dcc',
    950: '#000000',
  },
}
SCSS
$custom: #393dcc;
$custom-light: #8573dd;
$custom-dark: #000000;
JSON
{
  "hex": "#393dcc",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 238.367,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45969,
    "c": 0.21426,
    "h": 272.9
  },
  "luminance": 0.08567
}

Semantic roles & 50–950 ramp

primary
#393DCC
secondary
#D1CF90
accent
#DE46E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #393DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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