#393589#393589

#393589 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.136 H 280.0°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#393589
RGBrgb(57, 53, 137)
HSLhsl(243, 44%, 37%)
HSVhsv(243, 61%, 54%)
CMYKcmyk(58.4%, 61.3%, 0%, 46.3%)
CIE-LABlab(27.36, 27.33, -46.52)
CIE-LCHlch(27.36, 53.95, 300.43°)
OKLaboklab(38.5% 0.0236 -0.1335)
OKLCHoklch(38.5% 0.136 280)
XYZxyz(7.4744, 5.2217, 24.2761)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393589 #858935
analogous
#355B89 #393589 #633589
triadic
#393589 #893935 #358939
tetradic
#393589 #89355B #858935 #358963
square
#393589 #89355B #858935 #358963
split-complementary
#393589 #896335 #5B8935
monochromatic
#141331 #27245D #393589 #4B46B5 #7571C8

Accessibility & contrast

On white

10.27
#393589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#393589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393589
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393589#FFFFFF#000000##FFFFFF
##3935891.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#0D4959
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #393589;
/* rgb */ color: rgb(57, 53, 137);
/* oklch */ color: oklch(38.5% 0.136 280.0);
Tailwind
colors: {
  custom: {
    50: '#786cac',
    500: '#393589',
    950: '#000000',
  },
}
SCSS
$custom: #393589;
$custom-light: #786cac;
$custom-dark: #000000;
JSON
{
  "hex": "#393589",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 137
  },
  "hsl": {
    "h": 242.857,
    "s": 44.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38495,
    "c": 0.13562,
    "h": 280
  },
  "luminance": 0.05222
}

Semantic roles & 50–950 ramp

primary
#393589
secondary
#ADB06A
accent
#D454CE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393589

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

Preview Lab → · Contrast checker → · Palette generator →

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