#393ACC#393ACC

#393ACC is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.5% C 0.217 H 273.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#393ACC
RGBrgb(57, 58, 204)
HSLhsl(240, 59%, 51%)
HSVhsv(240, 72%, 80%)
CMYKcmyk(72.1%, 71.6%, 0%, 20%)
CIE-LABlab(34.51, 46.96, -75.01)
CIE-LCHlch(34.51, 88.50, 302.05°)
OKLaboklab(45.52% 0.0126 -0.217)
OKLCHoklch(45.52% 0.217 273.3)
XYZxyz(14.0958, 8.2542, 57.9654)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393ACC #CCCB39
analogous
#3983CC #393ACC #8139CC
triadic
#393ACC #CC393A #3ACC39
tetradic
#393ACC #CC3983 #CCCB39 #39CC81
square
#393ACC #CC3983 #CCCB39 #39CC81
split-complementary
#393ACC #CC8139 #83CC39
monochromatic
#1C1D6E #292A9F #393ACC #6A6AD9 #9A9BE5

Accessibility & contrast

On white

7.92
#393ACC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#393ACC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393ACC
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393ACC#FFFFFF#000000##FFFFFF
##393ACC1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004AC9
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #393acc;
/* rgb */ color: rgb(57, 58, 204);
/* oklch */ color: oklch(45.5% 0.217 273.3);
Tailwind
colors: {
  custom: {
    50: '#8572dd',
    500: '#393acc',
    950: '#000000',
  },
}
SCSS
$custom: #393acc;
$custom-light: #8572dd;
$custom-dark: #000000;
JSON
{
  "hex": "#393acc",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 239.592,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45519,
    "c": 0.21734,
    "h": 273.3
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#393ACC
secondary
#D1D090
accent
#E146E2
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #393ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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