#393992#393992

#393992 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.143 H 277.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#393992
RGBrgb(57, 57, 146)
HSLhsl(240, 44%, 40%)
HSVhsv(240, 61%, 57%)
CMYKcmyk(61%, 61%, 0%, 42.7%)
CIE-LABlab(29.08, 27.83, -49.27)
CIE-LCHlch(29.08, 56.59, 299.46°)
OKLaboklab(39.99% 0.0193 -0.1416)
OKLCHoklch(39.99% 0.143 277.8)
XYZxyz(8.3371, 5.8708, 27.8824)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393992 #929239
analogous
#396692 #393992 #663992
triadic
#393992 #923939 #399239
tetradic
#393992 #923966 #929239 #399266
square
#393992 #923966 #929239 #399266
split-complementary
#393992 #926639 #669239
monochromatic
#17173A #282866 #393992 #4E4EBA #7A7ACB

Accessibility & contrast

On white

9.66
#393992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#393992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393992
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393992#FFFFFF#000000##FFFFFF
##3939921.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #393992;
/* rgb */ color: rgb(57, 57, 146);
/* oklch */ color: oklch(40.0% 0.143 277.8);
Tailwind
colors: {
  custom: {
    50: '#796fb3',
    500: '#393992',
    950: '#000000',
  },
}
SCSS
$custom: #393992;
$custom-light: #796fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#393992",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 240,
    "s": 43.842,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39994,
    "c": 0.14292,
    "h": 277.8
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#393992
secondary
#B4B472
accent
#D454D4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393992

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

Preview Lab → · Contrast checker → · Palette generator →

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