#393F89#393F89

#393F89 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.122 H 276.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#393F89
RGBrgb(57, 63, 137)
HSLhsl(236, 41%, 38%)
HSVhsv(236, 58%, 54%)
CMYKcmyk(58.4%, 54%, 0%, 46.3%)
CIE-LABlab(29.99, 20.71, -42.27)
CIE-LCHlch(29.99, 47.07, 296.11°)
OKLaboklab(40.45% 0.0128 -0.1209)
OKLCHoklch(40.45% 0.122 276)
XYZxyz(7.9788, 6.2304, 24.4442)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393F89 #898339
analogous
#396789 #393F89 #5B3989
triadic
#393F89 #89393F #3F8939
tetradic
#393F89 #893967 #898339 #39895B
square
#393F89 #893967 #898339 #39895B
split-complementary
#393F89 #895B39 #678939
monochromatic
#151733 #272B5E #393F89 #4B53B4 #767CC6

Accessibility & contrast

On white

9.35
#393F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#393F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393F89
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393F89#FFFFFF#000000##FFFFFF
##393F891.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8C
Deuteranopia (green-blind)
#034387
Tritanopia (blue-blind)
#09505D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #393f89;
/* rgb */ color: rgb(57, 63, 137);
/* oklch */ color: oklch(40.5% 0.122 276.0);
Tailwind
colors: {
  custom: {
    50: '#7774ac',
    500: '#393f89',
    950: '#000000',
  },
}
SCSS
$custom: #393f89;
$custom-light: #7774ac;
$custom-dark: #000000;
JSON
{
  "hex": "#393f89",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 235.5,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40452,
    "c": 0.12161,
    "h": 276
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#393F89
secondary
#AFAA6F
accent
#C857D1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #393F89

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

Preview Lab → · Contrast checker → · Palette generator →

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