#393EA7#393EA7

#393EA7 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.165 H 274.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#393EA7
RGBrgb(57, 62, 167)
HSLhsl(237, 49%, 44%)
HSVhsv(237, 66%, 65%)
CMYKcmyk(65.9%, 62.9%, 0%, 34.5%)
CIE-LABlab(32.04, 31.93, -57.20)
CIE-LCHlch(32.04, 65.51, 299.17°)
OKLaboklab(42.71% 0.0139 -0.1649)
OKLCHoklch(42.71% 0.165 274.8)
XYZxyz(10.3827, 7.1042, 37.3758)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EA7 #A7A239
analogous
#3975A7 #393EA7 #6B39A7
triadic
#393EA7 #A7393E #3EA739
tetradic
#393EA7 #A73975 #A7A239 #39A76B
square
#393EA7 #A73975 #A7A239 #39A76B
split-complementary
#393EA7 #A76B39 #75A739
monochromatic
#1A1C4C #292D79 #393EA7 #575CC6 #8589D5

Accessibility & contrast

On white

8.67
#393EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#393EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EA7
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EA7#FFFFFF#000000##FFFFFF
##393EA71.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #393ea7;
/* rgb */ color: rgb(57, 62, 167);
/* oklch */ color: oklch(42.7% 0.165 274.8);
Tailwind
colors: {
  custom: {
    50: '#7d73c2',
    500: '#393ea7',
    950: '#000000',
  },
}
SCSS
$custom: #393ea7;
$custom-light: #7d73c2;
$custom-dark: #000000;
JSON
{
  "hex": "#393ea7",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 237.273,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42708,
    "c": 0.16546,
    "h": 274.8
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#393EA7
secondary
#BFBC7D
accent
#D24FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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