#393795#393795

#393795 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.150 H 278.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#393795
RGBrgb(57, 55, 149)
HSLhsl(241, 46%, 40%)
HSVhsv(241, 63%, 58%)
CMYKcmyk(61.7%, 63.1%, 0%, 41.6%)
CIE-LABlab(28.83, 30.16, -51.53)
CIE-LCHlch(28.83, 59.71, 300.34°)
OKLaboklab(39.88% 0.0211 -0.1482)
OKLCHoklch(39.88% 0.15 278.1)
XYZxyz(8.4766, 5.7715, 29.0953)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393795 #939537
analogous
#376495 #393795 #683795
triadic
#393795 #953937 #379539
tetradic
#393795 #953764 #939537 #379568
square
#393795 #953764 #939537 #379568
split-complementary
#393795 #956837 #649537
monochromatic
#17163C #282768 #393795 #4F4CBD #7B79CD

Accessibility & contrast

On white

9.75
#393795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#393795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393795
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393795#FFFFFF#000000##FFFFFF
##3937951.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #393795;
/* rgb */ color: rgb(57, 55, 149);
/* oklch */ color: oklch(39.9% 0.150 278.1);
Tailwind
colors: {
  custom: {
    50: '#7a6eb5',
    500: '#393795',
    950: '#000000',
  },
}
SCSS
$custom: #393795;
$custom-light: #7a6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#393795",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 149
  },
  "hsl": {
    "h": 241.277,
    "s": 46.078,
    "l": 40
  },
  "oklch": {
    "l": 0.39882,
    "c": 0.14975,
    "h": 278.1
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#393795
secondary
#B5B671
accent
#D652D3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393795

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

Preview Lab → · Contrast checker → · Palette generator →

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