#393BAD#393BAD

#393BAD is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.177 H 275.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#393BAD
RGBrgb(57, 59, 173)
HSLhsl(239, 50%, 45%)
HSVhsv(239, 67%, 68%)
CMYKcmyk(67.1%, 65.9%, 0%, 32.2%)
CIE-LABlab(31.84, 35.91, -61.13)
CIE-LCHlch(31.84, 70.90, 300.43°)
OKLaboklab(42.72% 0.0159 -0.1764)
OKLCHoklch(42.72% 0.177 275.1)
XYZxyz(10.7916, 7.0140, 40.3122)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BAD #ADAB39
analogous
#3975AD #393BAD #7139AD
triadic
#393BAD #AD393B #3BAD39
tetradic
#393BAD #AD3975 #ADAB39 #39AD71
square
#393BAD #AD3975 #ADAB39 #39AD71
split-complementary
#393BAD #AD7139 #75AD39
monochromatic
#1B1C51 #2A2B7F #393BAD #5A5CC9 #888AD8

Accessibility & contrast

On white

8.74
#393BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#393BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BAD
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BAD#FFFFFF#000000##FFFFFF
##393BAD1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #393bad;
/* rgb */ color: rgb(57, 59, 173);
/* oklch */ color: oklch(42.7% 0.177 275.1);
Tailwind
colors: {
  custom: {
    50: '#7e71c6',
    500: '#393bad',
    950: '#000000',
  },
}
SCSS
$custom: #393bad;
$custom-light: #7e71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#393bad",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 238.966,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42718,
    "c": 0.17712,
    "h": 275.1
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#393BAD
secondary
#C2C180
accent
#D84EDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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