#393890#393890

#393890 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.141 H 278.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#393890
RGBrgb(57, 56, 144)
HSLhsl(241, 44%, 39%)
HSVhsv(241, 61%, 56%)
CMYKcmyk(60.4%, 61.1%, 0%, 43.5%)
CIE-LABlab(28.67, 27.79, -48.71)
CIE-LCHlch(28.67, 56.08, 299.70°)
OKLaboklab(39.64% 0.0204 -0.14)
OKLCHoklch(39.64% 0.141 278.3)
XYZxyz(8.1340, 5.7112, 27.0539)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393890 #8F9038
analogous
#386390 #393890 #653890
triadic
#393890 #903938 #389039
tetradic
#393890 #903863 #8F9038 #389065
square
#393890 #903863 #8F9038 #389065
split-complementary
#393890 #906538 #639038
monochromatic
#161638 #282764 #393890 #4D4CB9 #7978CA

Accessibility & contrast

On white

9.80
#393890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#393890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393890
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393890#FFFFFF#000000##FFFFFF
##3938901.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #393890;
/* rgb */ color: rgb(57, 56, 144);
/* oklch */ color: oklch(39.6% 0.141 278.3);
Tailwind
colors: {
  custom: {
    50: '#796eb1',
    500: '#393890',
    950: '#000000',
  },
}
SCSS
$custom: #393890;
$custom-light: #796eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#393890",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 144
  },
  "hsl": {
    "h": 240.682,
    "s": 44,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3964,
    "c": 0.14144,
    "h": 278.3
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#393890
secondary
#B3B470
accent
#D454D2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393890

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

Preview Lab → · Contrast checker → · Palette generator →

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