#393983#393983

#393983 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.121 H 279.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#393983
RGBrgb(57, 57, 131)
HSLhsl(240, 39%, 37%)
HSVhsv(240, 56%, 51%)
CMYKcmyk(56.5%, 56.5%, 0%, 48.6%)
CIE-LABlab(27.94, 22.62, -41.84)
CIE-LCHlch(27.94, 47.57, 298.40°)
OKLaboklab(38.78% 0.0192 -0.1198)
OKLCHoklch(38.78% 0.121 279.1)
XYZxyz(7.2459, 5.4343, 22.1354)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393983 #838339
analogous
#395E83 #393983 #5E3983
triadic
#393983 #833939 #398339
tetradic
#393983 #83395E #838339 #39835E
square
#393983 #83395E #838339 #39835E
split-complementary
#393983 #835E39 #5E8339
monochromatic
#14142E #262658 #393983 #4C4CAE #7474C2

Accessibility & contrast

On white

10.06
#393983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393983
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393983#FFFFFF#000000##FFFFFF
##3939831.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094586
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#154A58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #393983;
/* rgb */ color: rgb(57, 57, 131);
/* oklch */ color: oklch(38.8% 0.121 279.1);
Tailwind
colors: {
  custom: {
    50: '#766fa8',
    500: '#393983',
    950: '#000000',
  },
}
SCSS
$custom: #393983;
$custom-light: #766fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#393983",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 131
  },
  "hsl": {
    "h": 240,
    "s": 39.362,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38781,
    "c": 0.1213,
    "h": 279.1
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#393983
secondary
#ACAC6C
accent
#CF59CF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #393983

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

Preview Lab → · Contrast checker → · Palette generator →

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