#393AC1#393AC1

#393AC1 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.4% C 0.204 H 274.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#393AC1
RGBrgb(57, 58, 193)
HSLhsl(240, 54%, 49%)
HSVhsv(240, 70%, 76%)
CMYKcmyk(70.5%, 69.9%, 0%, 24.3%)
CIE-LABlab(33.45, 43.31, -70.33)
CIE-LCHlch(33.45, 82.60, 301.62°)
OKLaboklab(44.44% 0.0142 -0.2033)
OKLCHoklch(44.44% 0.204 274)
XYZxyz(12.8228, 7.7450, 51.2609)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AC1 #C1C039
analogous
#397EC1 #393AC1 #7C39C1
triadic
#393AC1 #C1393A #3AC139
tetradic
#393AC1 #C1397E #C1C039 #39C17C
square
#393AC1 #C1397E #C1C039 #39C17C
split-complementary
#393AC1 #C17C39 #7EC139
monochromatic
#1D1E63 #2B2C92 #393AC1 #6666D2 #9595E0

Accessibility & contrast

On white

8.24
#393AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#393AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AC1
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AC1#FFFFFF#000000##FFFFFF
##393AC11.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#005F79
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #393ac1;
/* rgb */ color: rgb(57, 58, 193);
/* oklch */ color: oklch(44.4% 0.204 274.0);
Tailwind
colors: {
  custom: {
    50: '#8371d5',
    500: '#393ac1',
    950: '#000000',
  },
}
SCSS
$custom: #393ac1;
$custom-light: #8371d5;
$custom-dark: #000000;
JSON
{
  "hex": "#393ac1",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 239.559,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44439,
    "c": 0.20383,
    "h": 274
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#393AC1
secondary
#CBCA8B
accent
#DD4ADE
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #393AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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