#393792#393792

#393792 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.146 H 278.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#393792
RGBrgb(57, 55, 146)
HSLhsl(241, 45%, 39%)
HSVhsv(241, 62%, 57%)
CMYKcmyk(61%, 62.3%, 0%, 42.7%)
CIE-LABlab(28.58, 29.13, -50.09)
CIE-LCHlch(28.58, 57.94, 300.18°)
OKLaboklab(39.62% 0.0213 -0.144)
OKLCHoklch(39.62% 0.146 278.4)
XYZxyz(8.2402, 5.6770, 27.8501)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393792 #909237
analogous
#376392 #393792 #673792
triadic
#393792 #923937 #379239
tetradic
#393792 #923763 #909237 #379267
square
#393792 #923763 #909237 #379267
split-complementary
#393792 #926737 #639237
monochromatic
#161639 #282666 #393792 #4D4BBB #7977CC

Accessibility & contrast

On white

9.83
#393792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393792
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393792#FFFFFF#000000##FFFFFF
##3937921.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #393792;
/* rgb */ color: rgb(57, 55, 146);
/* oklch */ color: oklch(39.6% 0.146 278.4);
Tailwind
colors: {
  custom: {
    50: '#796eb3',
    500: '#393792',
    950: '#000000',
  },
}
SCSS
$custom: #393792;
$custom-light: #796eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#393792",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 241.319,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39624,
    "c": 0.14558,
    "h": 278.4
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#393792
secondary
#B3B570
accent
#D553D2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393792

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

Preview Lab → · Contrast checker → · Palette generator →

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