#393684#393684

#393684 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.127 H 280.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#393684
RGBrgb(57, 54, 132)
HSLhsl(242, 42%, 36%)
HSVhsv(242, 59%, 52%)
CMYKcmyk(56.8%, 59.1%, 0%, 48.2%)
CIE-LABlab(27.22, 24.96, -43.62)
CIE-LCHlch(27.22, 50.26, 299.77°)
OKLaboklab(38.27% 0.0226 -0.125)
OKLCHoklch(38.27% 0.127 280.3)
XYZxyz(7.1701, 5.1737, 22.4461)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393684 #818436
analogous
#365A84 #393684 #603684
triadic
#393684 #843936 #368439
tetradic
#393684 #84365A #818436 #368460
square
#393684 #84365A #818436 #368460
split-complementary
#393684 #846036 #5A8436
monochromatic
#13122D #262459 #393684 #4C48AF #7370C4

Accessibility & contrast

On white

10.32
#393684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#393684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393684
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393684#FFFFFF#000000##FFFFFF
##3936841.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#154857
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #393684;
/* rgb */ color: rgb(57, 54, 132);
/* oklch */ color: oklch(38.3% 0.127 280.3);
Tailwind
colors: {
  custom: {
    50: '#776da8',
    500: '#393684',
    950: '#000000',
  },
}
SCSS
$custom: #393684;
$custom-light: #776da8;
$custom-dark: #000000;
JSON
{
  "hex": "#393684",
  "rgb": {
    "r": 57,
    "g": 54,
    "b": 132
  },
  "hsl": {
    "h": 242.308,
    "s": 41.935,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38274,
    "c": 0.12704,
    "h": 280.3
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#393684
secondary
#AAAD69
accent
#D256CD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393684

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

Preview Lab → · Contrast checker → · Palette generator →

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