#393B89#393B89

#393B89 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.127 H 277.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#393B89
RGBrgb(57, 59, 137)
HSLhsl(239, 41%, 38%)
HSVhsv(239, 58%, 54%)
CMYKcmyk(58.4%, 56.9%, 0%, 46.3%)
CIE-LABlab(28.91, 23.38, -44.00)
CIE-LCHlch(28.91, 49.83, 297.98°)
OKLaboklab(39.65% 0.0172 -0.1261)
OKLCHoklch(39.65% 0.127 277.8)
XYZxyz(7.7652, 5.8034, 24.3730)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393B89 #898739
analogous
#396389 #393B89 #5F3989
triadic
#393B89 #89393B #3B8939
tetradic
#393B89 #893963 #898739 #39895F
square
#393B89 #893963 #898739 #39895F
split-complementary
#393B89 #895F39 #638939
monochromatic
#151633 #27285E #393B89 #4B4EB4 #7678C6

Accessibility & contrast

On white

9.72
#393B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#393B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393B89
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393B89#FFFFFF#000000##FFFFFF
##393B891.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03478C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#0B4D5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #393b89;
/* rgb */ color: rgb(57, 59, 137);
/* oklch */ color: oklch(39.6% 0.127 277.8);
Tailwind
colors: {
  custom: {
    50: '#7771ac',
    500: '#393b89',
    950: '#000000',
  },
}
SCSS
$custom: #393b89;
$custom-light: #7771ac;
$custom-dark: #000000;
JSON
{
  "hex": "#393b89",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 238.5,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39647,
    "c": 0.12726,
    "h": 277.8
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#393B89
secondary
#AFAE6F
accent
#CE57D1
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393B89

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

Preview Lab → · Contrast checker → · Palette generator →

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