#393C8D#393C8D

#393C8D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.132 H 277.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#393C8D
RGBrgb(57, 60, 141)
HSLhsl(238, 42%, 39%)
HSVhsv(238, 60%, 55%)
CMYKcmyk(59.6%, 57.4%, 0%, 44.7%)
CIE-LABlab(29.47, 24.11, -45.57)
CIE-LCHlch(29.47, 51.55, 297.89°)
OKLaboklab(40.16% 0.0163 -0.1307)
OKLCHoklch(40.16% 0.132 277.1)
XYZxyz(8.1094, 6.0241, 25.9296)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393C8D #8D8A39
analogous
#39668D #393C8D #60398D
triadic
#393C8D #8D393C #3C8D39
tetradic
#393C8D #8D3966 #8D8A39 #398D60
square
#393C8D #8D3966 #8D8A39 #398D60
split-complementary
#393C8D #8D6039 #668D39
monochromatic
#161736 #272961 #393C8D #4C50B7 #787BC8

Accessibility & contrast

On white

9.52
#393C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#393C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393C8D
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393C8D#FFFFFF#000000##FFFFFF
##393C8D1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#014F5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #393c8d;
/* rgb */ color: rgb(57, 60, 141);
/* oklch */ color: oklch(40.2% 0.132 277.1);
Tailwind
colors: {
  custom: {
    50: '#7871af',
    500: '#393c8d',
    950: '#000000',
  },
}
SCSS
$custom: #393c8d;
$custom-light: #7871af;
$custom-dark: #000000;
JSON
{
  "hex": "#393c8d",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 237.857,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4016,
    "c": 0.13169,
    "h": 277.1
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#393C8D
secondary
#B2AF70
accent
#CE56D2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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