#393CA6#393CA6

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

Color values

HEX#393CA6
RGBrgb(57, 60, 166)
HSLhsl(238, 49%, 44%)
HSVhsv(238, 66%, 65%)
CMYKcmyk(65.7%, 63.9%, 0%, 34.9%)
CIE-LABlab(31.47, 32.86, -57.53)
CIE-LCHlch(31.47, 66.26, 299.73°)
OKLaboklab(42.26% 0.0157 -0.1658)
OKLCHoklch(42.26% 0.167 275.4)
XYZxyz(10.1839, 6.8539, 36.8553)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CA6 #A6A339
analogous
#3972A6 #393CA6 #6C39A6
triadic
#393CA6 #A6393C #3CA639
tetradic
#393CA6 #A63972 #A6A339 #39A66C
square
#393CA6 #A63972 #A6A339 #39A66C
split-complementary
#393CA6 #A66C39 #72A639
monochromatic
#1A1B4B #292C78 #393CA6 #575AC5 #8487D5

Accessibility & contrast

On white

8.86
#393CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#393CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CA6
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CA6#FFFFFF#000000##FFFFFF
##393CA61.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0045A4
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #393ca6;
/* rgb */ color: rgb(57, 60, 166);
/* oklch */ color: oklch(42.3% 0.167 275.4);
Tailwind
colors: {
  custom: {
    50: '#7d72c1',
    500: '#393ca6',
    950: '#000000',
  },
}
SCSS
$custom: #393ca6;
$custom-light: #7d72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#393ca6",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 238.349,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42263,
    "c": 0.16659,
    "h": 275.4
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#393CA6
secondary
#BFBD7C
accent
#D54FD8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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