#393389#393389

#393389 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.138 H 280.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#393389
RGBrgb(57, 51, 137)
HSLhsl(244, 46%, 37%)
HSVhsv(244, 63%, 54%)
CMYKcmyk(58.4%, 62.8%, 0%, 46.3%)
CIE-LABlab(26.86, 28.63, -47.33)
CIE-LCHlch(26.86, 55.32, 301.17°)
OKLaboklab(38.13% 0.0257 -0.1359)
OKLCHoklch(38.13% 0.138 280.7)
XYZxyz(7.3851, 5.0432, 24.2463)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393389 #838933
analogous
#335889 #393389 #643389
triadic
#393389 #893933 #338939
tetradic
#393389 #893358 #838933 #338964
square
#393389 #893358 #838933 #338964
split-complementary
#393389 #896433 #588933
monochromatic
#141230 #26225C #393389 #4C44B6 #746EC9

Accessibility & contrast

On white

10.45
#393389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#393389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393389
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393389#FFFFFF#000000##FFFFFF
##3933891.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#0D4859
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #393389;
/* rgb */ color: rgb(57, 51, 137);
/* oklch */ color: oklch(38.1% 0.138 280.7);
Tailwind
colors: {
  custom: {
    50: '#786bac',
    500: '#393389',
    950: '#000000',
  },
}
SCSS
$custom: #393389;
$custom-light: #786bac;
$custom-dark: #000000;
JSON
{
  "hex": "#393389",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 244.186,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38128,
    "c": 0.13835,
    "h": 280.7
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#393389
secondary
#ACB167
accent
#D552CC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #393389

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

Preview Lab → · Contrast checker → · Palette generator →

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