#393386#393386

#393386 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.134 H 281.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#393386
RGBrgb(57, 51, 134)
HSLhsl(244, 45%, 36%)
HSVhsv(244, 62%, 53%)
CMYKcmyk(57.5%, 61.9%, 0%, 47.5%)
CIE-LABlab(26.62, 27.61, -45.86)
CIE-LCHlch(26.62, 53.53, 301.05°)
OKLaboklab(37.87% 0.0259 -0.1316)
OKLCHoklch(37.87% 0.134 281.1)
XYZxyz(7.1729, 4.9583, 23.1287)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393386 #808633
analogous
#335786 #393386 #633386
triadic
#393386 #863933 #338639
tetradic
#393386 #863357 #808633 #338663
square
#393386 #863357 #808633 #338663
split-complementary
#393386 #866333 #578633
monochromatic
#13112D #26225A #393386 #4C44B2 #736CC7

Accessibility & contrast

On white

10.54
#393386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#393386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393386
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393386#FFFFFF#000000##FFFFFF
##3933861.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#124757
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #393386;
/* rgb */ color: rgb(57, 51, 134);
/* oklch */ color: oklch(37.9% 0.134 281.1);
Tailwind
colors: {
  custom: {
    50: '#776baa',
    500: '#393386',
    950: '#000000',
  },
}
SCSS
$custom: #393386;
$custom-light: #776baa;
$custom-dark: #000000;
JSON
{
  "hex": "#393386",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 244.337,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37874,
    "c": 0.13412,
    "h": 281.1
  },
  "luminance": 0.04959
}

Semantic roles & 50–950 ramp

primary
#393386
secondary
#AAAF66
accent
#D553CB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #393386

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

Preview Lab → · Contrast checker → · Palette generator →

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