#393BAB#393BAB

#393BAB is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.174 H 275.3°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#393BAB
RGBrgb(57, 59, 171)
HSLhsl(239, 50%, 45%)
HSVhsv(239, 67%, 67%)
CMYKcmyk(66.7%, 65.5%, 0%, 32.9%)
CIE-LABlab(31.66, 35.22, -60.22)
CIE-LCHlch(31.66, 69.77, 300.32°)
OKLaboklab(42.54% 0.0161 -0.1737)
OKLCHoklch(42.54% 0.174 275.3)
XYZxyz(10.5996, 6.9371, 39.3006)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BAB #ABA939
analogous
#3974AB #393BAB #7039AB
triadic
#393BAB #AB393B #3BAB39
tetradic
#393BAB #AB3974 #ABA939 #39AB70
square
#393BAB #AB3974 #ABA939 #39AB70
split-complementary
#393BAB #AB7039 #74AB39
monochromatic
#1A1B4F #2A2B7D #393BAB #595BC8 #8789D7

Accessibility & contrast

On white

8.80
#393BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#393BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BAB
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BAB#FFFFFF#000000##FFFFFF
##393BAB1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #393bab;
/* rgb */ color: rgb(57, 59, 171);
/* oklch */ color: oklch(42.5% 0.174 275.3);
Tailwind
colors: {
  custom: {
    50: '#7e71c5',
    500: '#393bab',
    950: '#000000',
  },
}
SCSS
$custom: #393bab;
$custom-light: #7e71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#393bab",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 238.947,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42536,
    "c": 0.17448,
    "h": 275.3
  },
  "luminance": 0.06938
}

Semantic roles & 50–950 ramp

primary
#393BAB
secondary
#C1C07F
accent
#D74EDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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