#393789#393789

#393789 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.133 H 279.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#393789
RGBrgb(57, 55, 137)
HSLhsl(241, 43%, 38%)
HSVhsv(241, 60%, 54%)
CMYKcmyk(58.4%, 59.9%, 0%, 46.3%)
CIE-LABlab(27.87, 26.02, -45.69)
CIE-LCHlch(27.87, 52.58, 299.66°)
OKLaboklab(38.87% 0.0215 -0.1311)
OKLCHoklch(38.87% 0.133 279.3)
XYZxyz(7.5675, 5.4079, 24.3071)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393789 #878937
analogous
#375E89 #393789 #623789
triadic
#393789 #893937 #378939
tetradic
#393789 #89375E #878937 #378962
square
#393789 #89375E #878937 #378962
split-complementary
#393789 #896237 #5E8937
monochromatic
#151432 #27255D #393789 #4B49B5 #7573C7

Accessibility & contrast

On white

10.09
#393789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#393789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393789
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393789#FFFFFF#000000##FFFFFF
##3937891.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#0C4A5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #393789;
/* rgb */ color: rgb(57, 55, 137);
/* oklch */ color: oklch(38.9% 0.133 279.3);
Tailwind
colors: {
  custom: {
    50: '#776eac',
    500: '#393789',
    950: '#000000',
  },
}
SCSS
$custom: #393789;
$custom-light: #776eac;
$custom-dark: #000000;
JSON
{
  "hex": "#393789",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 241.463,
    "s": 42.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38871,
    "c": 0.13286,
    "h": 279.3
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#393789
secondary
#AEB06C
accent
#D255CF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393789

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

Preview Lab → · Contrast checker → · Palette generator →

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