#393C85#393C85

#393C85 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.5% C 0.120 H 277.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#393C85
RGBrgb(57, 60, 133)
HSLhsl(238, 40%, 37%)
HSVhsv(238, 57%, 52%)
CMYKcmyk(57.1%, 54.9%, 0%, 47.8%)
CIE-LABlab(28.89, 21.31, -41.56)
CIE-LCHlch(28.89, 46.70, 297.15°)
OKLaboklab(39.54% 0.0159 -0.1189)
OKLCHoklch(39.54% 0.12 277.6)
XYZxyz(7.5355, 5.7945, 22.9071)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393C85 #858239
analogous
#396285 #393C85 #5C3985
triadic
#393C85 #85393C #3C8539
tetradic
#393C85 #853962 #858239 #39855C
square
#393C85 #853962 #858239 #39855C
split-complementary
#393C85 #855C39 #628539
monochromatic
#14152F #27295A #393C85 #4B4FB0 #7578C4

Accessibility & contrast

On white

9.73
#393C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#393C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393C85
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393C85#FFFFFF#000000##FFFFFF
##393C851.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114788
Deuteranopia (green-blind)
#014183
Tritanopia (blue-blind)
#124D5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #393c85;
/* rgb */ color: rgb(57, 60, 133);
/* oklch */ color: oklch(39.5% 0.120 277.6);
Tailwind
colors: {
  custom: {
    50: '#7671a9',
    500: '#393c85',
    950: '#000000',
  },
}
SCSS
$custom: #393c85;
$custom-light: #7671a9;
$custom-dark: #000000;
JSON
{
  "hex": "#393c85",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 133
  },
  "hsl": {
    "h": 237.632,
    "s": 40,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39537,
    "c": 0.11994,
    "h": 277.6
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#393C85
secondary
#ADAA6D
accent
#CB58D0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393C85

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

Preview Lab → · Contrast checker → · Palette generator →

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