#393A99#393A99

#393A99 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.151 H 276.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#393A99
RGBrgb(57, 58, 153)
HSLhsl(239, 46%, 41%)
HSVhsv(239, 63%, 60%)
CMYKcmyk(62.7%, 62.1%, 0%, 40%)
CIE-LABlab(29.90, 29.62, -52.23)
CIE-LCHlch(29.90, 60.04, 299.55°)
OKLaboklab(40.77% 0.0181 -0.1503)
OKLCHoklch(40.77% 0.151 276.9)
XYZxyz(8.9483, 6.1952, 30.8551)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393A99 #999839
analogous
#396A99 #393A99 #683999
triadic
#393A99 #99393A #3A9939
tetradic
#393A99 #99396A #999839 #399968
square
#393A99 #99396A #999839 #399968
split-complementary
#393A99 #996839 #6A9939
monochromatic
#181840 #28296C #393A99 #5152BE #7E7ECF

Accessibility & contrast

On white

9.38
#393A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#393A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393A99
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393A99#FFFFFF#000000##FFFFFF
##393A991.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #393a99;
/* rgb */ color: rgb(57, 58, 153);
/* oklch */ color: oklch(40.8% 0.151 276.9);
Tailwind
colors: {
  custom: {
    50: '#7a70b8',
    500: '#393a99',
    950: '#000000',
  },
}
SCSS
$custom: #393a99;
$custom-light: #7a70b8;
$custom-dark: #000000;
JSON
{
  "hex": "#393a99",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 239.375,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40772,
    "c": 0.15138,
    "h": 276.9
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#393A99
secondary
#B8B876
accent
#D452D5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393A99

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

Preview Lab → · Contrast checker → · Palette generator →

#393A99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva