#393AC5#393AC5

#393AC5 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.8% C 0.209 H 273.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#393AC5
RGBrgb(57, 58, 197)
HSLhsl(240, 55%, 50%)
HSVhsv(240, 71%, 77%)
CMYKcmyk(71.1%, 70.6%, 0%, 22.7%)
CIE-LABlab(33.83, 44.64, -72.05)
CIE-LCHlch(33.83, 84.76, 301.78°)
OKLaboklab(44.83% 0.0136 -0.2083)
OKLCHoklch(44.83% 0.209 273.7)
XYZxyz(13.2751, 7.9259, 53.6427)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AC5 #C5C439
analogous
#3980C5 #393AC5 #7E39C5
triadic
#393AC5 #C5393A #3AC539
tetradic
#393AC5 #C53980 #C5C439 #39C57E
square
#393AC5 #C53980 #C5C439 #39C57E
split-complementary
#393AC5 #C57E39 #80C539
monochromatic
#1E1E66 #2B2C96 #393AC5 #6869D3 #9798E1

Accessibility & contrast

On white

8.12
#393AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#393AC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AC5
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AC5#FFFFFF#000000##FFFFFF
##393AC51.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0049C2
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #393ac5;
/* rgb */ color: rgb(57, 58, 197);
/* oklch */ color: oklch(44.8% 0.209 273.7);
Tailwind
colors: {
  custom: {
    50: '#8371d8',
    500: '#393ac5',
    950: '#000000',
  },
}
SCSS
$custom: #393ac5;
$custom-light: #8371d8;
$custom-dark: #000000;
JSON
{
  "hex": "#393ac5",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 239.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44829,
    "c": 0.20879,
    "h": 273.7
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#393AC5
secondary
#CDCC8D
accent
#DD49DE
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #393AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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