#393FA0#393FA0

#393FA0 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.155 H 274.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#393FA0
RGBrgb(57, 63, 160)
HSLhsl(237, 47%, 43%)
HSVhsv(237, 64%, 63%)
CMYKcmyk(64.4%, 60.6%, 0%, 37.3%)
CIE-LABlab(31.72, 28.83, -53.51)
CIE-LCHlch(31.72, 60.79, 298.31°)
OKLaboklab(42.29% 0.0133 -0.154)
OKLCHoklch(42.29% 0.155 274.9)
XYZxyz(9.8079, 6.9621, 34.0779)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FA0 #A09A39
analogous
#3972A0 #393FA0 #6739A0
triadic
#393FA0 #A0393F #3FA039
tetradic
#393FA0 #A03972 #A09A39 #39A067
square
#393FA0 #A03972 #A09A39 #39A067
split-complementary
#393FA0 #A06739 #72A039
monochromatic
#191B46 #292D73 #393FA0 #545AC2 #8186D2

Accessibility & contrast

On white

8.78
#393FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#393FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FA0
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FA0#FFFFFF#000000##FFFFFF
##393FA01.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #393fa0;
/* rgb */ color: rgb(57, 63, 160);
/* oklch */ color: oklch(42.3% 0.155 274.9);
Tailwind
colors: {
  custom: {
    50: '#7b74bd',
    500: '#393fa0',
    950: '#000000',
  },
}
SCSS
$custom: #393fa0;
$custom-light: #7b74bd;
$custom-dark: #000000;
JSON
{
  "hex": "#393fa0",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 236.505,
    "s": 47.465,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42292,
    "c": 0.15459,
    "h": 274.9
  },
  "luminance": 0.06963
}

Semantic roles & 50–950 ramp

primary
#393FA0
secondary
#BCB879
accent
#CF51D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #393FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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