#393785#393785

#393785 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.127 H 279.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#393785
RGBrgb(57, 55, 133)
HSLhsl(242, 41%, 37%)
HSVhsv(242, 59%, 52%)
CMYKcmyk(57.1%, 58.6%, 0%, 47.8%)
CIE-LABlab(27.56, 24.64, -43.70)
CIE-LCHlch(27.56, 50.17, 299.41°)
OKLaboklab(38.55% 0.0215 -0.1252)
OKLCHoklch(38.55% 0.127 279.8)
XYZxyz(7.2858, 5.2952, 22.8239)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393785 #838537
analogous
#375C85 #393785 #603785
triadic
#393785 #853937 #378539
tetradic
#393785 #85375C #838537 #378560
square
#393785 #85375C #838537 #378560
split-complementary
#393785 #856037 #5C8537
monochromatic
#14132E #26255A #393785 #4C49B0 #7472C5

Accessibility & contrast

On white

10.20
#393785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#393785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393785
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393785#FFFFFF#000000##FFFFFF
##3937851.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#134958
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #393785;
/* rgb */ color: rgb(57, 55, 133);
/* oklch */ color: oklch(38.5% 0.127 279.8);
Tailwind
colors: {
  custom: {
    50: '#776ea9',
    500: '#393785',
    950: '#000000',
  },
}
SCSS
$custom: #393785;
$custom-light: #776ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#393785",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 133
  },
  "hsl": {
    "h": 241.538,
    "s": 41.489,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38547,
    "c": 0.12708,
    "h": 279.8
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

primary
#393785
secondary
#ACAD6A
accent
#D156CE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393785

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

Preview Lab → · Contrast checker → · Palette generator →

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