#393E8D#393E8D

#393E8D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.129 H 276.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#393E8D
RGBrgb(57, 62, 141)
HSLhsl(236, 42%, 39%)
HSVhsv(236, 60%, 55%)
CMYKcmyk(59.6%, 56%, 0%, 44.7%)
CIE-LABlab(30.00, 22.78, -44.71)
CIE-LCHlch(30.00, 50.18, 297.01°)
OKLaboklab(40.56% 0.0141 -0.1281)
OKLCHoklch(40.56% 0.129 276.3)
XYZxyz(8.2161, 6.2376, 25.9652)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393E8D #8D8839
analogous
#39688D #393E8D #5E398D
triadic
#393E8D #8D393E #3E8D39
tetradic
#393E8D #8D3968 #8D8839 #398D5E
square
#393E8D #8D3968 #8D8839 #398D5E
split-complementary
#393E8D #8D5E39 #688D39
monochromatic
#161836 #272B61 #393E8D #4C53B7 #787DC8

Accessibility & contrast

On white

9.34
#393E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#393E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393E8D
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393E8D#FFFFFF#000000##FFFFFF
##393E8D1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084A90
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #393e8d;
/* rgb */ color: rgb(57, 62, 141);
/* oklch */ color: oklch(40.6% 0.129 276.3);
Tailwind
colors: {
  custom: {
    50: '#7873af',
    500: '#393e8d',
    950: '#000000',
  },
}
SCSS
$custom: #393e8d;
$custom-light: #7873af;
$custom-dark: #000000;
JSON
{
  "hex": "#393e8d",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 236.429,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40557,
    "c": 0.1289,
    "h": 276.3
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#393E8D
secondary
#B2AE70
accent
#CB56D2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #393E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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