#393BA5#393BA5

#393BA5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.166 H 275.7°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#393BA5
RGBrgb(57, 59, 165)
HSLhsl(239, 49%, 44%)
HSVhsv(239, 65%, 65%)
CMYKcmyk(65.5%, 64.2%, 0%, 35.3%)
CIE-LABlab(31.15, 33.15, -57.47)
CIE-LCHlch(31.15, 66.34, 299.98°)
OKLaboklab(42% 0.0166 -0.1657)
OKLCHoklch(42% 0.166 275.7)
XYZxyz(10.0406, 6.7135, 36.3567)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BA5 #A5A339
analogous
#3971A5 #393BA5 #6D39A5
triadic
#393BA5 #A5393B #3BA539
tetradic
#393BA5 #A53971 #A5A339 #39A56D
square
#393BA5 #A53971 #A5A339 #39A56D
split-complementary
#393BA5 #A56D39 #71A539
monochromatic
#1A1A4A #292B78 #393BA5 #5658C5 #8485D4

Accessibility & contrast

On white

8.96
#393BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#393BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BA5
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BA5#FFFFFF#000000##FFFFFF
##393BA51.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #393ba5;
/* rgb */ color: rgb(57, 59, 165);
/* oklch */ color: oklch(42.0% 0.166 275.7);
Tailwind
colors: {
  custom: {
    50: '#7c71c1',
    500: '#393ba5',
    950: '#000000',
  },
}
SCSS
$custom: #393ba5;
$custom-light: #7c71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#393ba5",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 165
  },
  "hsl": {
    "h": 238.889,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41998,
    "c": 0.16648,
    "h": 275.7
  },
  "luminance": 0.06714
}

Semantic roles & 50–950 ramp

primary
#393BA5
secondary
#BEBD7B
accent
#D650D8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #393BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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