#393E89#393E89

#393E89 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.123 H 276.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#393E89
RGBrgb(57, 62, 137)
HSLhsl(236, 41%, 38%)
HSVhsv(236, 58%, 54%)
CMYKcmyk(58.4%, 54.7%, 0%, 46.3%)
CIE-LABlab(29.71, 21.38, -42.70)
CIE-LCHlch(29.71, 47.76, 296.59°)
OKLaboklab(40.25% 0.0139 -0.1222)
OKLCHoklch(40.25% 0.123 276.5)
XYZxyz(7.9239, 6.1207, 24.4259)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393E89 #898439
analogous
#396689 #393E89 #5C3989
triadic
#393E89 #89393E #3E8939
tetradic
#393E89 #893966 #898439 #39895C
square
#393E89 #893966 #898439 #39895C
split-complementary
#393E89 #895C39 #668939
monochromatic
#151733 #272A5E #393E89 #4B52B4 #767BC6

Accessibility & contrast

On white

9.44
#393E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#393E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393E89
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393E89#FFFFFF#000000##FFFFFF
##393E891.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498C
Deuteranopia (green-blind)
#004387
Tritanopia (blue-blind)
#0A4F5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #393e89;
/* rgb */ color: rgb(57, 62, 137);
/* oklch */ color: oklch(40.2% 0.123 276.5);
Tailwind
colors: {
  custom: {
    50: '#7773ac',
    500: '#393e89',
    950: '#000000',
  },
}
SCSS
$custom: #393e89;
$custom-light: #7773ac;
$custom-dark: #000000;
JSON
{
  "hex": "#393e89",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 236.25,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40248,
    "c": 0.12303,
    "h": 276.5
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#393E89
secondary
#AFAB6F
accent
#C957D1
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #393E89

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

Preview Lab → · Contrast checker → · Palette generator →

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