#393984#393984

#393984 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.123 H 279.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#393984
RGBrgb(57, 57, 132)
HSLhsl(240, 40%, 37%)
HSVhsv(240, 57%, 52%)
CMYKcmyk(56.8%, 56.8%, 0%, 48.2%)
CIE-LABlab(28.01, 22.97, -42.35)
CIE-LCHlch(28.01, 48.18, 298.47°)
OKLaboklab(38.86% 0.0193 -0.1212)
OKLCHoklch(38.86% 0.123 279)
XYZxyz(7.3140, 5.4616, 22.4941)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393984 #848439
analogous
#395F84 #393984 #5F3984
triadic
#393984 #843939 #398439
tetradic
#393984 #84395F #848439 #39845F
square
#393984 #84395F #848439 #39845F
split-complementary
#393984 #845F39 #5F8439
monochromatic
#14142F #272759 #393984 #4B4BAF #7474C3

Accessibility & contrast

On white

10.04
#393984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#393984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393984
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393984#FFFFFF#000000##FFFFFF
##3939841.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074587
Deuteranopia (green-blind)
#003F82
Tritanopia (blue-blind)
#144A58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #393984;
/* rgb */ color: rgb(57, 57, 132);
/* oklch */ color: oklch(38.9% 0.123 279.0);
Tailwind
colors: {
  custom: {
    50: '#766fa8',
    500: '#393984',
    950: '#000000',
  },
}
SCSS
$custom: #393984;
$custom-light: #766fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#393984",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 132
  },
  "hsl": {
    "h": 240,
    "s": 39.683,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38859,
    "c": 0.12276,
    "h": 279
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#393984
secondary
#ACAC6D
accent
#D058D0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393984

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

Preview Lab → · Contrast checker → · Palette generator →

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