#393FA9#393FA9

#393FA9 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.167 H 274.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#393FA9
RGBrgb(57, 63, 169)
HSLhsl(237, 50%, 44%)
HSVhsv(237, 66%, 66%)
CMYKcmyk(66.3%, 62.7%, 0%, 33.7%)
CIE-LABlab(32.45, 32.00, -57.73)
CIE-LCHlch(32.45, 66.00, 299.00°)
OKLaboklab(43.06% 0.013 -0.1664)
OKLCHoklch(43.06% 0.167 274.5)
XYZxyz(10.6239, 7.2885, 38.3754)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FA9 #A9A339
analogous
#3977A9 #393FA9 #6B39A9
triadic
#393FA9 #A9393F #3FA939
tetradic
#393FA9 #A93977 #A9A339 #39A96B
square
#393FA9 #A93977 #A9A339 #39A96B
split-complementary
#393FA9 #A96B39 #77A939
monochromatic
#1A1D4D #2A2E7B #393FA9 #585EC7 #868AD6

Accessibility & contrast

On white

8.54
#393FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#393FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FA9
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FA9#FFFFFF#000000##FFFFFF
##393FA91.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #393fa9;
/* rgb */ color: rgb(57, 63, 169);
/* oklch */ color: oklch(43.1% 0.167 274.5);
Tailwind
colors: {
  custom: {
    50: '#7d74c3',
    500: '#393fa9',
    950: '#000000',
  },
}
SCSS
$custom: #393fa9;
$custom-light: #7d74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#393fa9",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 236.786,
    "s": 49.558,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43063,
    "c": 0.16692,
    "h": 274.5
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#393FA9
secondary
#C0BD7E
accent
#D24FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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