#393AB5#393AB5

#393AB5 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.3% C 0.189 H 274.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#393AB5
RGBrgb(57, 58, 181)
HSLhsl(240, 52%, 47%)
HSVhsv(240, 69%, 71%)
CMYKcmyk(68.5%, 68%, 0%, 29%)
CIE-LABlab(32.33, 39.26, -65.09)
CIE-LCHlch(32.33, 76.02, 301.10°)
OKLaboklab(43.29% 0.0158 -0.188)
OKLCHoklch(43.29% 0.189 274.8)
XYZxyz(11.5381, 7.2311, 44.4948)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AB5 #B5B439
analogous
#3978B5 #393AB5 #7639B5
triadic
#393AB5 #B5393A #3AB539
tetradic
#393AB5 #B53978 #B5B439 #39B576
square
#393AB5 #B53978 #B5B439 #39B576
split-complementary
#393AB5 #B57639 #78B539
monochromatic
#1C1C58 #2A2B86 #393AB5 #5F60CD #8D8EDB

Accessibility & contrast

On white

8.58
#393AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#393AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AB5
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AB5#FFFFFF#000000##FFFFFF
##393AB51.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #393ab5;
/* rgb */ color: rgb(57, 58, 181);
/* oklch */ color: oklch(43.3% 0.189 274.8);
Tailwind
colors: {
  custom: {
    50: '#8071cc',
    500: '#393ab5',
    950: '#000000',
  },
}
SCSS
$custom: #393ab5;
$custom-light: #8071cc;
$custom-dark: #000000;
JSON
{
  "hex": "#393ab5",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 239.516,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43293,
    "c": 0.18867,
    "h": 274.8
  },
  "luminance": 0.07232
}

Semantic roles & 50–950 ramp

primary
#393AB5
secondary
#C6C584
accent
#DA4CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #393AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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