#393FA8#393FA8

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

Color values

HEX#393FA8
RGBrgb(57, 63, 168)
HSLhsl(237, 49%, 44%)
HSVhsv(237, 66%, 66%)
CMYKcmyk(66.1%, 62.5%, 0%, 34.1%)
CIE-LABlab(32.37, 31.64, -57.27)
CIE-LCHlch(32.37, 65.43, 298.92°)
OKLaboklab(42.98% 0.0131 -0.165)
OKLCHoklch(42.98% 0.166 274.5)
XYZxyz(10.5304, 7.2511, 37.8829)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FA8 #A8A239
analogous
#3977A8 #393FA8 #6B39A8
triadic
#393FA8 #A8393F #3FA839
tetradic
#393FA8 #A83977 #A8A239 #39A86B
square
#393FA8 #A83977 #A8A239 #39A86B
split-complementary
#393FA8 #A86B39 #77A839
monochromatic
#1A1D4D #292E7A #393FA8 #585EC6 #868AD6

Accessibility & contrast

On white

8.57
#393FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#393FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FA8
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FA8#FFFFFF#000000##FFFFFF
##393FA81.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #393fa8;
/* rgb */ color: rgb(57, 63, 168);
/* oklch */ color: oklch(43.0% 0.166 274.5);
Tailwind
colors: {
  custom: {
    50: '#7d74c3',
    500: '#393fa8',
    950: '#000000',
  },
}
SCSS
$custom: #393fa8;
$custom-light: #7d74c3;
$custom-dark: #000000;
JSON
{
  "hex": "#393fa8",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 236.757,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42976,
    "c": 0.16557,
    "h": 274.5
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#393FA8
secondary
#C0BC7D
accent
#D14FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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