#393784#393784

#393784 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.126 H 279.9°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#393784
RGBrgb(57, 55, 132)
HSLhsl(242, 41%, 37%)
HSVhsv(242, 58%, 52%)
CMYKcmyk(56.8%, 58.3%, 0%, 48.2%)
CIE-LABlab(27.48, 24.30, -43.20)
CIE-LCHlch(27.48, 49.57, 299.35°)
OKLaboklab(38.47% 0.0215 -0.1238)
OKLCHoklch(38.47% 0.126 279.9)
XYZxyz(7.2171, 5.2677, 22.4618)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393784 #828437
analogous
#375C84 #393784 #603784
triadic
#393784 #843937 #378439
tetradic
#393784 #84375C #828437 #378460
square
#393784 #84375C #828437 #378460
split-complementary
#393784 #846037 #5C8437
monochromatic
#14132E #262559 #393784 #4C49AF #7471C4

Accessibility & contrast

On white

10.23
#393784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#393784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393784
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393784#FFFFFF#000000##FFFFFF
##3937841.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#003E82
Tritanopia (blue-blind)
#144958
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #393784;
/* rgb */ color: rgb(57, 55, 132);
/* oklch */ color: oklch(38.5% 0.126 279.9);
Tailwind
colors: {
  custom: {
    50: '#766ea8',
    500: '#393784',
    950: '#000000',
  },
}
SCSS
$custom: #393784;
$custom-light: #766ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#393784",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 132
  },
  "hsl": {
    "h": 241.558,
    "s": 41.176,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38467,
    "c": 0.12563,
    "h": 279.9
  },
  "luminance": 0.05268
}

Semantic roles & 50–950 ramp

primary
#393784
secondary
#ABAD6A
accent
#D157CE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393784

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

Preview Lab → · Contrast checker → · Palette generator →

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