#393790#393790

#393790 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.143 H 278.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#393790
RGBrgb(57, 55, 144)
HSLhsl(241, 45%, 39%)
HSVhsv(241, 62%, 56%)
CMYKcmyk(60.4%, 61.8%, 0%, 43.5%)
CIE-LABlab(28.42, 28.44, -49.12)
CIE-LCHlch(28.42, 56.76, 300.07°)
OKLaboklab(39.45% 0.0214 -0.1412)
OKLCHoklch(39.45% 0.143 278.6)
XYZxyz(8.0860, 5.6153, 27.0379)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393790 #8E9037
analogous
#376290 #393790 #663790
triadic
#393790 #903937 #379039
tetradic
#393790 #903762 #8E9037 #379066
square
#393790 #903762 #8E9037 #379066
split-complementary
#393790 #906637 #629037
monochromatic
#161537 #272664 #393790 #4D4ABA #7877CB

Accessibility & contrast

On white

9.89
#393790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#393790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393790
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393790#FFFFFF#000000##FFFFFF
##3937901.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #393790;
/* rgb */ color: rgb(57, 55, 144);
/* oklch */ color: oklch(39.5% 0.143 278.6);
Tailwind
colors: {
  custom: {
    50: '#796eb1',
    500: '#393790',
    950: '#000000',
  },
}
SCSS
$custom: #393790;
$custom-light: #796eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#393790",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 241.348,
    "s": 44.724,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39454,
    "c": 0.14279,
    "h": 278.6
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#393790
secondary
#B2B46F
accent
#D453D2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393790

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

Preview Lab → · Contrast checker → · Palette generator →

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