#393DA4#393DA4

#393DA4 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.163 H 275.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#393DA4
RGBrgb(57, 61, 164)
HSLhsl(238, 48%, 43%)
HSVhsv(238, 65%, 64%)
CMYKcmyk(65.2%, 62.8%, 0%, 35.7%)
CIE-LABlab(31.55, 31.52, -56.21)
CIE-LCHlch(31.55, 64.44, 299.29°)
OKLaboklab(42.27% 0.0149 -0.1619)
OKLCHoklch(42.27% 0.163 275.3)
XYZxyz(10.0547, 6.8868, 35.9142)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DA4 #A4A039
analogous
#3972A4 #393DA4 #6A39A4
triadic
#393DA4 #A4393D #3DA439
tetradic
#393DA4 #A43972 #A4A039 #39A46A
square
#393DA4 #A43972 #A4A039 #39A46A
split-complementary
#393DA4 #A46A39 #72A439
monochromatic
#191B49 #292C77 #393DA4 #565AC4 #8386D4

Accessibility & contrast

On white

8.83
#393DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#393DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DA4
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DA4#FFFFFF#000000##FFFFFF
##393DA41.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #393da4;
/* rgb */ color: rgb(57, 61, 164);
/* oklch */ color: oklch(42.3% 0.163 275.3);
Tailwind
colors: {
  custom: {
    50: '#7c72c0',
    500: '#393da4',
    950: '#000000',
  },
}
SCSS
$custom: #393da4;
$custom-light: #7c72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#393da4",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 237.757,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42267,
    "c": 0.16264,
    "h": 275.3
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#393DA4
secondary
#BEBB7B
accent
#D350D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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