#393C81#393C81

#393C81 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.2% C 0.114 H 277.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#393C81
RGBrgb(57, 60, 129)
HSLhsl(238, 39%, 36%)
HSVhsv(238, 56%, 51%)
CMYKcmyk(55.8%, 53.5%, 0%, 49.4%)
CIE-LABlab(28.61, 19.92, -39.52)
CIE-LCHlch(28.61, 44.26, 296.75°)
OKLaboklab(39.24% 0.0156 -0.1129)
OKLCHoklch(39.24% 0.114 277.9)
XYZxyz(7.2644, 5.6861, 21.4794)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393C81 #817E39
analogous
#396081 #393C81 #5A3981
triadic
#393C81 #81393C #3C8139
tetradic
#393C81 #813960 #817E39 #39815A
square
#393C81 #813960 #817E39 #39815A
split-complementary
#393C81 #815A39 #608139
monochromatic
#13152C #262857 #393C81 #4C50AB #7376C1

Accessibility & contrast

On white

9.83
#393C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#393C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393C81
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393C81#FFFFFF#000000##FFFFFF
##393C811.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174683
Deuteranopia (green-blind)
#0D4180
Tritanopia (blue-blind)
#174B58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #393c81;
/* rgb */ color: rgb(57, 60, 129);
/* oklch */ color: oklch(39.2% 0.114 277.9);
Tailwind
colors: {
  custom: {
    50: '#7671a6',
    500: '#393c81',
    950: '#000000',
  },
}
SCSS
$custom: #393c81;
$custom-light: #7671a6;
$custom-dark: #000000;
JSON
{
  "hex": "#393c81",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 237.5,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39236,
    "c": 0.11397,
    "h": 277.9
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#393C81
secondary
#AAA86B
accent
#CA59CF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #393C81

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

Preview Lab → · Contrast checker → · Palette generator →

#393C81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva