#393989#393989

#393989 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.130 H 278.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#393989
RGBrgb(57, 57, 137)
HSLhsl(240, 41%, 38%)
HSVhsv(240, 58%, 54%)
CMYKcmyk(58.4%, 58.4%, 0%, 46.3%)
CIE-LABlab(28.38, 24.70, -44.85)
CIE-LCHlch(28.38, 51.21, 298.84°)
OKLaboklab(39.26% 0.0194 -0.1286)
OKLCHoklch(39.26% 0.13 278.6)
XYZxyz(7.6644, 5.6017, 24.3394)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393989 #898939
analogous
#396189 #393989 #613989
triadic
#393989 #893939 #398939
tetradic
#393989 #893961 #898939 #398961
square
#393989 #893961 #898939 #398961
split-complementary
#393989 #896139 #618939
monochromatic
#151533 #27275E #393989 #4B4BB4 #7676C6

Accessibility & contrast

On white

9.90
#393989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#393989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393989
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393989#FFFFFF#000000##FFFFFF
##3939891.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#0B4C5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #393989;
/* rgb */ color: rgb(57, 57, 137);
/* oklch */ color: oklch(39.3% 0.130 278.6);
Tailwind
colors: {
  custom: {
    50: '#776fac',
    500: '#393989',
    950: '#000000',
  },
}
SCSS
$custom: #393989;
$custom-light: #776fac;
$custom-dark: #000000;
JSON
{
  "hex": "#393989",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39255,
    "c": 0.13006,
    "h": 278.6
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#393989
secondary
#AFAF6F
accent
#D157D1
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393989

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

Preview Lab → · Contrast checker → · Palette generator →

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