#393DA5#393DA5

#393DA5 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.164 H 275.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#393DA5
RGBrgb(57, 61, 165)
HSLhsl(238, 49%, 44%)
HSVhsv(238, 65%, 65%)
CMYKcmyk(65.5%, 63%, 0%, 35.3%)
CIE-LABlab(31.63, 31.87, -56.67)
CIE-LCHlch(31.63, 65.02, 299.35°)
OKLaboklab(42.35% 0.0149 -0.1633)
OKLCHoklch(42.35% 0.164 275.2)
XYZxyz(10.1454, 6.9231, 36.3917)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DA5 #A5A139
analogous
#3973A5 #393DA5 #6B39A5
triadic
#393DA5 #A5393D #3DA539
tetradic
#393DA5 #A53973 #A5A139 #39A56B
square
#393DA5 #A53973 #A5A139 #39A56B
split-complementary
#393DA5 #A56B39 #73A539
monochromatic
#1A1B4A #292C78 #393DA5 #565BC5 #8487D4

Accessibility & contrast

On white

8.81
#393DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393DA5
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DA5#FFFFFF#000000##FFFFFF
##393DA51.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #393da5;
/* rgb */ color: rgb(57, 61, 165);
/* oklch */ color: oklch(42.4% 0.164 275.2);
Tailwind
colors: {
  custom: {
    50: '#7c72c1',
    500: '#393da5',
    950: '#000000',
  },
}
SCSS
$custom: #393da5;
$custom-light: #7c72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#393da5",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 237.778,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42354,
    "c": 0.164,
    "h": 275.2
  },
  "luminance": 0.06924
}

Semantic roles & 50–950 ramp

primary
#393DA5
secondary
#BEBC7B
accent
#D350D8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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