#393AA6#393AA6

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

Color values

HEX#393AA6
RGBrgb(57, 58, 166)
HSLhsl(239, 49%, 44%)
HSVhsv(239, 66%, 65%)
CMYKcmyk(65.7%, 65.1%, 0%, 34.9%)
CIE-LABlab(30.99, 34.13, -58.32)
CIE-LCHlch(30.99, 67.57, 300.33°)
OKLaboklab(41.91% 0.0173 -0.1682)
OKLCHoklch(41.91% 0.169 275.9)
XYZxyz(10.0811, 6.6483, 36.8210)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AA6 #A6A539
analogous
#3970A6 #393AA6 #6E39A6
triadic
#393AA6 #A6393A #3AA639
tetradic
#393AA6 #A63970 #A6A539 #39A66E
square
#393AA6 #A63970 #A6A539 #39A66E
split-complementary
#393AA6 #A66E39 #70A639
monochromatic
#1A1A4B #292A78 #393AA6 #5758C5 #8485D5

Accessibility & contrast

On white

9.01
#393AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#393AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AA6
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AA6#FFFFFF#000000##FFFFFF
##393AA61.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #393aa6;
/* rgb */ color: rgb(57, 58, 166);
/* oklch */ color: oklch(41.9% 0.169 275.9);
Tailwind
colors: {
  custom: {
    50: '#7d70c1',
    500: '#393aa6',
    950: '#000000',
  },
}
SCSS
$custom: #393aa6;
$custom-light: #7d70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#393aa6",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 239.45,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41913,
    "c": 0.16905,
    "h": 275.9
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#393AA6
secondary
#BFBE7C
accent
#D74FD8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #393AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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