#393AA5#393AA5

#393AA5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.168 H 275.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#393AA5
RGBrgb(57, 58, 165)
HSLhsl(239, 49%, 44%)
HSVhsv(239, 65%, 65%)
CMYKcmyk(65.5%, 64.8%, 0%, 35.3%)
CIE-LABlab(30.91, 33.78, -57.86)
CIE-LCHlch(30.91, 67.00, 300.28°)
OKLaboklab(41.82% 0.0174 -0.1668)
OKLCHoklch(41.82% 0.168 275.9)
XYZxyz(9.9897, 6.6117, 36.3398)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AA5 #A5A439
analogous
#3970A5 #393AA5 #6E39A5
triadic
#393AA5 #A5393A #3AA539
tetradic
#393AA5 #A53970 #A5A439 #39A56E
square
#393AA5 #A53970 #A5A439 #39A56E
split-complementary
#393AA5 #A56E39 #70A539
monochromatic
#1A1A4A #292A78 #393AA5 #5657C5 #8485D4

Accessibility & contrast

On white

9.04
#393AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#393AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AA5
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AA5#FFFFFF#000000##FFFFFF
##393AA51.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #393aa5;
/* rgb */ color: rgb(57, 58, 165);
/* oklch */ color: oklch(41.8% 0.168 275.9);
Tailwind
colors: {
  custom: {
    50: '#7d70c1',
    500: '#393aa5',
    950: '#000000',
  },
}
SCSS
$custom: #393aa5;
$custom-light: #7d70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#393aa5",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 239.444,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41823,
    "c": 0.16771,
    "h": 275.9
  },
  "luminance": 0.06613
}

Semantic roles & 50–950 ramp

primary
#393AA5
secondary
#BEBE7B
accent
#D750D8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #393AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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