#393799#393799

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

Color values

HEX#393799
RGBrgb(57, 55, 153)
HSLhsl(241, 47%, 41%)
HSVhsv(241, 64%, 60%)
CMYKcmyk(62.7%, 64.1%, 0%, 40%)
CIE-LABlab(29.16, 31.54, -53.43)
CIE-LCHlch(29.16, 62.05, 300.55°)
OKLaboklab(40.23% 0.0209 -0.1538)
OKLCHoklch(40.23% 0.155 277.7)
XYZxyz(8.8014, 5.9015, 30.8061)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393799 #979937
analogous
#376699 #393799 #6A3799
triadic
#393799 #993937 #379939
tetradic
#393799 #993766 #979937 #37996A
square
#393799 #993766 #979937 #37996A
split-complementary
#393799 #996A37 #669937
monochromatic
#17173F #28276C #393799 #504EBF #7D7BD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##393799#FFFFFF#000000##FFFFFF
##3937991.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)
#00499C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #393799;
/* rgb */ color: rgb(57, 55, 153);
/* oklch */ color: oklch(40.2% 0.155 277.7);
Tailwind
colors: {
  custom: {
    50: '#7a6eb8',
    500: '#393799',
    950: '#000000',
  },
}
SCSS
$custom: #393799;
$custom-light: #7a6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#393799",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 241.224,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40231,
    "c": 0.15525,
    "h": 277.7
  },
  "luminance": 0.05902
}

Semantic roles & 50–950 ramp

primary
#393799
secondary
#B7B973
accent
#D751D4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393799

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

Preview Lab → · Contrast checker → · Palette generator →

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