#393FA4#393FA4

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

Color values

HEX#393FA4
RGBrgb(57, 63, 164)
HSLhsl(237, 48%, 43%)
HSVhsv(237, 65%, 64%)
CMYKcmyk(65.2%, 61.6%, 0%, 35.7%)
CIE-LABlab(32.04, 30.24, -55.40)
CIE-LCHlch(32.04, 63.12, 298.63°)
OKLaboklab(42.63% 0.0132 -0.1596)
OKLCHoklch(42.63% 0.16 274.7)
XYZxyz(10.1635, 7.1043, 35.9504)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FA4 #A49E39
analogous
#3974A4 #393FA4 #6939A4
triadic
#393FA4 #A4393F #3FA439
tetradic
#393FA4 #A43974 #A49E39 #39A469
square
#393FA4 #A43974 #A49E39 #39A469
split-complementary
#393FA4 #A46939 #74A439
monochromatic
#191C49 #292E77 #393FA4 #565CC4 #8388D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##393FA4#FFFFFF#000000##FFFFFF
##393FA41.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)
#0050A7
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #393fa4;
/* rgb */ color: rgb(57, 63, 164);
/* oklch */ color: oklch(42.6% 0.160 274.7);
Tailwind
colors: {
  custom: {
    50: '#7c74c0',
    500: '#393fa4',
    950: '#000000',
  },
}
SCSS
$custom: #393fa4;
$custom-light: #7c74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#393fa4",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 236.636,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42631,
    "c": 0.16011,
    "h": 274.7
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#393FA4
secondary
#BEBA7B
accent
#D050D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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