#393AA8#393AA8

#393AA8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.172 H 275.7°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#393AA8
RGBrgb(57, 58, 168)
HSLhsl(239, 49%, 44%)
HSVhsv(239, 66%, 66%)
CMYKcmyk(66.1%, 65.5%, 0%, 34.1%)
CIE-LABlab(31.17, 34.82, -59.24)
CIE-LCHlch(31.17, 68.71, 300.44°)
OKLaboklab(42.09% 0.0171 -0.1709)
OKLCHoklch(42.09% 0.172 275.7)
XYZxyz(10.2660, 6.7222, 37.7947)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AA8 #A8A739
analogous
#3972A8 #393AA8 #7039A8
triadic
#393AA8 #A8393A #3AA839
tetradic
#393AA8 #A83972 #A8A739 #39A870
square
#393AA8 #A83972 #A8A739 #39A870
split-complementary
#393AA8 #A87039 #72A839
monochromatic
#1A1A4D #292A7A #393AA8 #5859C6 #8686D6

Accessibility & contrast

On white

8.96
#393AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#393AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AA8
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AA8#FFFFFF#000000##FFFFFF
##393AA81.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #393aa8;
/* rgb */ color: rgb(57, 58, 168);
/* oklch */ color: oklch(42.1% 0.172 275.7);
Tailwind
colors: {
  custom: {
    50: '#7d70c3',
    500: '#393aa8',
    950: '#000000',
  },
}
SCSS
$custom: #393aa8;
$custom-light: #7d70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#393aa8",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 239.459,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42093,
    "c": 0.17172,
    "h": 275.7
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#393AA8
secondary
#C0BF7D
accent
#D84FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #393AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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