#393AC2#393AC2

#393AC2 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.5% C 0.205 H 273.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#393AC2
RGBrgb(57, 58, 194)
HSLhsl(240, 55%, 49%)
HSVhsv(240, 71%, 76%)
CMYKcmyk(70.6%, 70.1%, 0%, 23.9%)
CIE-LABlab(33.54, 43.64, -70.76)
CIE-LCHlch(33.54, 83.14, 301.66°)
OKLaboklab(44.54% 0.0141 -0.2046)
OKLCHoklch(44.54% 0.205 273.9)
XYZxyz(12.9348, 7.7898, 51.8504)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AC2 #C2C139
analogous
#397FC2 #393AC2 #7D39C2
triadic
#393AC2 #C2393A #3AC239
tetradic
#393AC2 #C2397F #C2C139 #39C27D
square
#393AC2 #C2397F #C2C139 #39C27D
split-complementary
#393AC2 #C27D39 #7FC239
monochromatic
#1D1E63 #2B2C93 #393AC2 #6667D2 #9596E0

Accessibility & contrast

On white

8.21
#393AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#393AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AC2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AC2#FFFFFF#000000##FFFFFF
##393AC21.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#00607A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #393ac2;
/* rgb */ color: rgb(57, 58, 194);
/* oklch */ color: oklch(44.5% 0.205 273.9);
Tailwind
colors: {
  custom: {
    50: '#8371d6',
    500: '#393ac2',
    950: '#000000',
  },
}
SCSS
$custom: #393ac2;
$custom-light: #8371d6;
$custom-dark: #000000;
JSON
{
  "hex": "#393ac2",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 239.562,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44537,
    "c": 0.20507,
    "h": 273.9
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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