#393990#393990

#393990 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.140 H 277.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#393990
RGBrgb(57, 57, 144)
HSLhsl(240, 43%, 39%)
HSVhsv(240, 60%, 56%)
CMYKcmyk(60.4%, 60.4%, 0%, 43.5%)
CIE-LABlab(28.93, 27.13, -48.30)
CIE-LCHlch(28.93, 55.40, 299.33°)
OKLaboklab(39.83% 0.0194 -0.1388)
OKLCHoklch(39.83% 0.14 277.9)
XYZxyz(8.1829, 5.8091, 27.0702)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393990 #909039
analogous
#396590 #393990 #653990
triadic
#393990 #903939 #399039
tetradic
#393990 #903965 #909039 #399065
square
#393990 #903965 #909039 #399065
split-complementary
#393990 #906539 #659039
monochromatic
#161638 #282864 #393990 #4D4DB9 #7979CA

Accessibility & contrast

On white

9.71
#393990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#393990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393990
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393990#FFFFFF#000000##FFFFFF
##3939901.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #393990;
/* rgb */ color: rgb(57, 57, 144);
/* oklch */ color: oklch(39.8% 0.140 277.9);
Tailwind
colors: {
  custom: {
    50: '#796fb1',
    500: '#393990',
    950: '#000000',
  },
}
SCSS
$custom: #393990;
$custom-light: #796fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#393990",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 43.284,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39827,
    "c": 0.14009,
    "h": 277.9
  },
  "luminance": 0.0581
}

Semantic roles & 50–950 ramp

primary
#393990
secondary
#B3B371
accent
#D355D3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393990

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

Preview Lab → · Contrast checker → · Palette generator →

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