#393783#393783

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

Color values

HEX#393783
RGBrgb(57, 55, 131)
HSLhsl(242, 41%, 36%)
HSVhsv(242, 58%, 51%)
CMYKcmyk(56.5%, 58%, 0%, 48.6%)
CIE-LABlab(27.41, 23.95, -42.70)
CIE-LCHlch(27.41, 48.96, 299.29°)
OKLaboklab(38.39% 0.0215 -0.1223)
OKLCHoklch(38.39% 0.124 280)
XYZxyz(7.1490, 5.2405, 22.1031)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393783 #818337
analogous
#375B83 #393783 #5F3783
triadic
#393783 #833937 #378339
tetradic
#393783 #83375B #818337 #37835F
square
#393783 #83375B #818337 #37835F
split-complementary
#393783 #835F37 #5B8337
monochromatic
#13132D #262558 #393783 #4C49AE #7371C3

Accessibility & contrast

On white

10.25
#393783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#393783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393783
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393783#FFFFFF#000000##FFFFFF
##3937831.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004486
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#164957
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #393783;
/* rgb */ color: rgb(57, 55, 131);
/* oklch */ color: oklch(38.4% 0.124 280.0);
Tailwind
colors: {
  custom: {
    50: '#766ea8',
    500: '#393783',
    950: '#000000',
  },
}
SCSS
$custom: #393783;
$custom-light: #766ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#393783",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 131
  },
  "hsl": {
    "h": 241.579,
    "s": 40.86,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38387,
    "c": 0.12417,
    "h": 280
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#393783
secondary
#AAAC6A
accent
#D157CE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393783

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

Preview Lab → · Contrast checker → · Palette generator →

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