#393BC5#393BC5

#393BC5 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 45.0% C 0.208 H 273.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#393BC5
RGBrgb(57, 59, 197)
HSLhsl(239, 55%, 50%)
HSVhsv(239, 71%, 77%)
CMYKcmyk(71.1%, 70.1%, 0%, 22.7%)
CIE-LABlab(34.04, 44.06, -71.70)
CIE-LCHlch(34.04, 84.16, 301.57°)
OKLaboklab(44.98% 0.0131 -0.2073)
OKLCHoklch(44.98% 0.208 273.6)
XYZxyz(13.3260, 8.0277, 53.6597)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BC5 #C5C339
analogous
#3981C5 #393BC5 #7D39C5
triadic
#393BC5 #C5393B #3BC539
tetradic
#393BC5 #C53981 #C5C339 #39C57D
square
#393BC5 #C53981 #C5C339 #39C57D
split-complementary
#393BC5 #C57D39 #81C539
monochromatic
#1E1F66 #2B2D96 #393BC5 #6869D3 #9798E1

Accessibility & contrast

On white

8.06
#393BC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#393BC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BC5
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BC5#FFFFFF#000000##FFFFFF
##393BC51.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393bc5;
/* rgb */ color: rgb(57, 59, 197);
/* oklch */ color: oklch(45.0% 0.208 273.6);
Tailwind
colors: {
  custom: {
    50: '#8372d8',
    500: '#393bc5',
    950: '#000000',
  },
}
SCSS
$custom: #393bc5;
$custom-light: #8372d8;
$custom-dark: #000000;
JSON
{
  "hex": "#393bc5",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 239.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44982,
    "c": 0.20773,
    "h": 273.6
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#393BC5
secondary
#CDCC8D
accent
#DC49DE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #393BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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