#393688#393688

#393688 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.133 H 279.8°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#393688
RGBrgb(57, 54, 136)
HSLhsl(242, 43%, 37%)
HSVhsv(242, 60%, 53%)
CMYKcmyk(58.1%, 60.3%, 0%, 46.7%)
CIE-LABlab(27.53, 26.33, -45.61)
CIE-LCHlch(27.53, 52.67, 300.00°)
OKLaboklab(38.6% 0.0226 -0.1309)
OKLCHoklch(38.6% 0.133 279.8)
XYZxyz(7.4490, 5.2853, 23.9154)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393688 #858836
analogous
#365C88 #393688 #623688
triadic
#393688 #883936 #368839
tetradic
#393688 #88365C #858836 #368862
square
#393688 #88365C #858836 #368862
split-complementary
#393688 #886236 #5C8836
monochromatic
#141330 #27255C #393688 #4B47B4 #7572C7

Accessibility & contrast

On white

10.21
#393688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#393688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393688
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393688#FFFFFF#000000##FFFFFF
##3936881.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#0E4959
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #393688;
/* rgb */ color: rgb(57, 54, 136);
/* oklch */ color: oklch(38.6% 0.133 279.8);
Tailwind
colors: {
  custom: {
    50: '#776dab',
    500: '#393688',
    950: '#000000',
  },
}
SCSS
$custom: #393688;
$custom-light: #776dab;
$custom-dark: #000000;
JSON
{
  "hex": "#393688",
  "rgb": {
    "r": 57,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 242.195,
    "s": 43.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.386,
    "c": 0.13281,
    "h": 279.8
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#393688
secondary
#ADAF6A
accent
#D355CE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393688

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

Preview Lab → · Contrast checker → · Palette generator →

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