#393CCC#393CCC

#393CCC is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.8% C 0.215 H 273.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#393CCC
RGBrgb(57, 60, 204)
HSLhsl(239, 59%, 51%)
HSVhsv(239, 72%, 80%)
CMYKcmyk(72.1%, 70.6%, 0%, 20%)
CIE-LABlab(34.92, 45.81, -74.33)
CIE-LCHlch(34.92, 87.31, 301.64°)
OKLaboklab(45.82% 0.0115 -0.215)
OKLCHoklch(45.82% 0.215 273.1)
XYZxyz(14.1986, 8.4598, 57.9996)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CCC #CCC939
analogous
#3985CC #393CCC #7F39CC
triadic
#393CCC #CC393C #3CCC39
tetradic
#393CCC #CC3985 #CCC939 #39CC7F
square
#393CCC #CC3985 #CCC939 #39CC7F
split-complementary
#393CCC #CC7F39 #85CC39
monochromatic
#1C1E6E #292B9F #393CCC #6A6CD9 #9A9CE5

Accessibility & contrast

On white

7.80
#393CCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#393CCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CCC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CCC#FFFFFF#000000##FFFFFF
##393CCC1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#004BC9
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #393ccc;
/* rgb */ color: rgb(57, 60, 204);
/* oklch */ color: oklch(45.8% 0.215 273.1);
Tailwind
colors: {
  custom: {
    50: '#8573dd',
    500: '#393ccc',
    950: '#000000',
  },
}
SCSS
$custom: #393ccc;
$custom-light: #8573dd;
$custom-dark: #000000;
JSON
{
  "hex": "#393ccc",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 238.776,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45817,
    "c": 0.2153,
    "h": 273.1
  },
  "luminance": 0.08461
}

Semantic roles & 50–950 ramp

primary
#393CCC
secondary
#D1D090
accent
#DF46E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #393CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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