#393EA5#393EA5

#393EA5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.163 H 274.9°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#393EA5
RGBrgb(57, 62, 165)
HSLhsl(237, 49%, 44%)
HSVhsv(237, 65%, 65%)
CMYKcmyk(65.5%, 62.4%, 0%, 35.3%)
CIE-LABlab(31.88, 31.23, -56.27)
CIE-LCHlch(31.88, 64.36, 299.03°)
OKLaboklab(42.54% 0.014 -0.1621)
OKLCHoklch(42.54% 0.163 274.9)
XYZxyz(10.1993, 7.0308, 36.4096)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EA5 #A5A039
analogous
#3974A5 #393EA5 #6A39A5
triadic
#393EA5 #A5393E #3EA539
tetradic
#393EA5 #A53974 #A5A039 #39A56A
square
#393EA5 #A53974 #A5A039 #39A56A
split-complementary
#393EA5 #A56A39 #74A539
monochromatic
#1A1C4A #292D78 #393EA5 #565CC5 #8488D4

Accessibility & contrast

On white

8.73
#393EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#393EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EA5
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EA5#FFFFFF#000000##FFFFFF
##393EA51.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #393ea5;
/* rgb */ color: rgb(57, 62, 165);
/* oklch */ color: oklch(42.5% 0.163 274.9);
Tailwind
colors: {
  custom: {
    50: '#7c73c1',
    500: '#393ea5',
    950: '#000000',
  },
}
SCSS
$custom: #393ea5;
$custom-light: #7c73c1;
$custom-dark: #000000;
JSON
{
  "hex": "#393ea5",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 237.222,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42535,
    "c": 0.16275,
    "h": 274.9
  },
  "luminance": 0.07032
}

Semantic roles & 50–950 ramp

primary
#393EA5
secondary
#BEBB7B
accent
#D250D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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