#393788#393788

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

Color values

HEX#393788
RGBrgb(57, 55, 136)
HSLhsl(241, 42%, 37%)
HSVhsv(241, 60%, 53%)
CMYKcmyk(58.1%, 59.6%, 0%, 46.7%)
CIE-LABlab(27.79, 25.68, -45.20)
CIE-LCHlch(27.79, 51.98, 299.60°)
OKLaboklab(38.79% 0.0215 -0.1296)
OKLCHoklch(38.79% 0.131 279.4)
XYZxyz(7.4961, 5.3793, 23.9311)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393788 #868837
analogous
#375E88 #393788 #613788
triadic
#393788 #883937 #378839
tetradic
#393788 #88375E #868837 #378861
square
#393788 #88375E #868837 #378861
split-complementary
#393788 #886137 #5E8837
monochromatic
#141431 #27255C #393788 #4B49B4 #7573C6

Accessibility & contrast

On white

10.12
#393788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#393788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393788
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393788#FFFFFF#000000##FFFFFF
##3937881.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#0E4A5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #393788;
/* rgb */ color: rgb(57, 55, 136);
/* oklch */ color: oklch(38.8% 0.131 279.4);
Tailwind
colors: {
  custom: {
    50: '#776eab',
    500: '#393788',
    950: '#000000',
  },
}
SCSS
$custom: #393788;
$custom-light: #776eab;
$custom-dark: #000000;
JSON
{
  "hex": "#393788",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 136
  },
  "hsl": {
    "h": 241.481,
    "s": 42.408,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3879,
    "c": 0.13142,
    "h": 279.4
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

primary
#393788
secondary
#ADAF6C
accent
#D256CF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393788

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

Preview Lab → · Contrast checker → · Palette generator →

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