#393896#393896

#393896 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.150 H 277.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#393896
RGBrgb(57, 56, 150)
HSLhsl(241, 46%, 40%)
HSVhsv(241, 63%, 59%)
CMYKcmyk(62%, 62.7%, 0%, 41.2%)
CIE-LABlab(29.16, 29.87, -51.61)
CIE-LCHlch(29.16, 59.62, 300.06°)
OKLaboklab(40.15% 0.0201 -0.1485)
OKLCHoklch(40.15% 0.15 277.7)
XYZxyz(8.6048, 5.8996, 29.5335)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393896 #959638
analogous
#386696 #393896 #683896
triadic
#393896 #963938 #389639
tetradic
#393896 #963866 #959638 #389668
square
#393896 #963866 #959638 #389668
split-complementary
#393896 #966838 #669638
monochromatic
#17173D #282769 #393896 #4F4EBD #7C7BCE

Accessibility & contrast

On white

9.63
#393896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#393896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393896
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393896#FFFFFF#000000##FFFFFF
##3938961.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #393896;
/* rgb */ color: rgb(57, 56, 150);
/* oklch */ color: oklch(40.2% 0.150 277.7);
Tailwind
colors: {
  custom: {
    50: '#7a6fb6',
    500: '#393896',
    950: '#000000',
  },
}
SCSS
$custom: #393896;
$custom-light: #7a6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#393896",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 150
  },
  "hsl": {
    "h": 240.638,
    "s": 45.631,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4015,
    "c": 0.14983,
    "h": 277.7
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#393896
secondary
#B6B773
accent
#D552D4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393896

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

Preview Lab → · Contrast checker → · Palette generator →

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