#393FA5#393FA5

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

Color values

HEX#393FA5
RGBrgb(57, 63, 165)
HSLhsl(237, 49%, 44%)
HSVhsv(237, 65%, 65%)
CMYKcmyk(65.5%, 61.8%, 0%, 35.3%)
CIE-LABlab(32.12, 30.59, -55.87)
CIE-LCHlch(32.12, 63.69, 298.70°)
OKLaboklab(42.72% 0.0132 -0.1609)
OKLCHoklch(42.72% 0.161 274.7)
XYZxyz(10.2541, 7.1406, 36.4279)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FA5 #A59F39
analogous
#3975A5 #393FA5 #6939A5
triadic
#393FA5 #A5393F #3FA539
tetradic
#393FA5 #A53975 #A59F39 #39A569
square
#393FA5 #A53975 #A59F39 #39A569
split-complementary
#393FA5 #A56939 #75A539
monochromatic
#1A1C4A #292E78 #393FA5 #565DC5 #8488D4

Accessibility & contrast

On white

8.65
#393FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#393FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FA5
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FA5#FFFFFF#000000##FFFFFF
##393FA51.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #393fa5;
/* rgb */ color: rgb(57, 63, 165);
/* oklch */ color: oklch(42.7% 0.161 274.7);
Tailwind
colors: {
  custom: {
    50: '#7c74c1',
    500: '#393fa5',
    950: '#000000',
  },
}
SCSS
$custom: #393fa5;
$custom-light: #7c74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#393fa5",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 236.667,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42717,
    "c": 0.16148,
    "h": 274.7
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#393FA5
secondary
#BEBB7B
accent
#D150D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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