#393EA9#393EA9

#393EA9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.9% C 0.168 H 274.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#393EA9
RGBrgb(57, 62, 169)
HSLhsl(237, 50%, 44%)
HSVhsv(237, 66%, 66%)
CMYKcmyk(66.3%, 63.3%, 0%, 33.7%)
CIE-LABlab(32.21, 32.63, -58.13)
CIE-LCHlch(32.21, 66.66, 299.31°)
OKLaboklab(42.88% 0.0138 -0.1676)
OKLCHoklch(42.88% 0.168 274.7)
XYZxyz(10.5690, 7.1788, 38.3571)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EA9 #A9A439
analogous
#3976A9 #393EA9 #6C39A9
triadic
#393EA9 #A9393E #3EA939
tetradic
#393EA9 #A93976 #A9A439 #39A96C
square
#393EA9 #A93976 #A9A439 #39A96C
split-complementary
#393EA9 #A96C39 #76A939
monochromatic
#1A1C4D #2A2D7B #393EA9 #585DC7 #868AD6

Accessibility & contrast

On white

8.62
#393EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#393EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EA9
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EA9#FFFFFF#000000##FFFFFF
##393EA91.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #393ea9;
/* rgb */ color: rgb(57, 62, 169);
/* oklch */ color: oklch(42.9% 0.168 274.7);
Tailwind
colors: {
  custom: {
    50: '#7d73c3',
    500: '#393ea9',
    950: '#000000',
  },
}
SCSS
$custom: #393ea9;
$custom-light: #7d73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#393ea9",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 237.321,
    "s": 49.558,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42883,
    "c": 0.16816,
    "h": 274.7
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#393EA9
secondary
#C0BD7E
accent
#D34FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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