#393496#393496

#393496 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.155 H 278.8°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#393496
RGBrgb(57, 52, 150)
HSLhsl(243, 49%, 40%)
HSVhsv(243, 65%, 59%)
CMYKcmyk(62%, 65.3%, 0%, 41.2%)
CIE-LABlab(28.19, 32.42, -53.19)
CIE-LCHlch(28.19, 62.29, 301.36°)
OKLaboklab(39.44% 0.0238 -0.1531)
OKLCHoklch(39.44% 0.155 278.8)
XYZxyz(8.4186, 5.5272, 29.4715)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393496 #919634
analogous
#346096 #393496 #6A3496
triadic
#393496 #963934 #349639
tetradic
#393496 #963460 #919634 #34966A
square
#393496 #963460 #919634 #34966A
split-complementary
#393496 #966A34 #609634
monochromatic
#16143B #282469 #393496 #4E48BF #7A75CF

Accessibility & contrast

On white

9.97
#393496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#393496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393496
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393496#FFFFFF#000000##FFFFFF
##3934961.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #393496;
/* rgb */ color: rgb(57, 52, 150);
/* oklch */ color: oklch(39.4% 0.155 278.8);
Tailwind
colors: {
  custom: {
    50: '#7a6cb6',
    500: '#393496',
    950: '#000000',
  },
}
SCSS
$custom: #393496;
$custom-light: #7a6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#393496",
  "rgb": {
    "r": 57,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 243.061,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39439,
    "c": 0.15498,
    "h": 278.8
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#393496
secondary
#B4B86E
accent
#D850D1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393496

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

Preview Lab → · Contrast checker → · Palette generator →

#393496 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva