#393793#393793

#393793 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.147 H 278.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#393793
RGBrgb(57, 55, 147)
HSLhsl(241, 46%, 40%)
HSVhsv(241, 63%, 58%)
CMYKcmyk(61.2%, 62.6%, 0%, 42.4%)
CIE-LABlab(28.66, 29.47, -50.57)
CIE-LCHlch(28.66, 58.53, 300.23°)
OKLaboklab(39.71% 0.0212 -0.1454)
OKLCHoklch(39.71% 0.147 278.3)
XYZxyz(8.3183, 5.7082, 28.2616)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393793 #919337
analogous
#376393 #393793 #673793
triadic
#393793 #933937 #379339
tetradic
#393793 #933763 #919337 #379367
square
#393793 #933763 #919337 #379367
split-complementary
#393793 #936737 #639337
monochromatic
#16163A #282666 #393793 #4E4BBC #7A78CC

Accessibility & contrast

On white

9.80
#393793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#393793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393793
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393793#FFFFFF#000000##FFFFFF
##3937931.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #393793;
/* rgb */ color: rgb(57, 55, 147);
/* oklch */ color: oklch(39.7% 0.147 278.3);
Tailwind
colors: {
  custom: {
    50: '#796eb3',
    500: '#393793',
    950: '#000000',
  },
}
SCSS
$custom: #393793;
$custom-light: #796eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#393793",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 147
  },
  "hsl": {
    "h": 241.304,
    "s": 45.545,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3971,
    "c": 0.14698,
    "h": 278.3
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#393793
secondary
#B4B570
accent
#D553D2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393793

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

Preview Lab → · Contrast checker → · Palette generator →

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