#393899#393899

#393899 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.154 H 277.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#393899
RGBrgb(57, 56, 153)
HSLhsl(241, 46%, 41%)
HSVhsv(241, 63%, 60%)
CMYKcmyk(62.7%, 63.4%, 0%, 40%)
CIE-LABlab(29.41, 30.90, -53.03)
CIE-LCHlch(29.41, 61.38, 300.23°)
OKLaboklab(40.41% 0.02 -0.1527)
OKLCHoklch(40.41% 0.154 277.4)
XYZxyz(8.8494, 5.9974, 30.8221)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393899 #989938
analogous
#386799 #393899 #693899
triadic
#393899 #993938 #389939
tetradic
#393899 #993867 #989938 #389969
square
#393899 #993867 #989938 #389969
split-complementary
#393899 #996938 #679938
monochromatic
#18173F #28286C #393899 #514FBF #7D7CCF

Accessibility & contrast

On white

9.55
#393899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#393899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393899
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393899#FFFFFF#000000##FFFFFF
##3938991.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #393899;
/* rgb */ color: rgb(57, 56, 153);
/* oklch */ color: oklch(40.4% 0.154 277.4);
Tailwind
colors: {
  custom: {
    50: '#7a6fb8',
    500: '#393899',
    950: '#000000',
  },
}
SCSS
$custom: #393899;
$custom-light: #7a6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#393899",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 240.619,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40409,
    "c": 0.15397,
    "h": 277.4
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#393899
secondary
#B8B874
accent
#D652D5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393899

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

Preview Lab → · Contrast checker → · Palette generator →

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