#393D8D#393D8D

#393D8D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.130 H 276.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#393D8D
RGBrgb(57, 61, 141)
HSLhsl(237, 42%, 39%)
HSVhsv(237, 60%, 55%)
CMYKcmyk(59.6%, 56.7%, 0%, 44.7%)
CIE-LABlab(29.74, 23.45, -45.14)
CIE-LCHlch(29.74, 50.87, 297.45°)
OKLaboklab(40.36% 0.0152 -0.1294)
OKLCHoklch(40.36% 0.13 276.7)
XYZxyz(8.1623, 6.1298, 25.9472)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393D8D #8D8939
analogous
#39678D #393D8D #5F398D
triadic
#393D8D #8D393D #3D8D39
tetradic
#393D8D #8D3967 #8D8939 #398D5F
square
#393D8D #8D3967 #8D8939 #398D5F
split-complementary
#393D8D #8D5F39 #678D39
monochromatic
#161736 #272A61 #393D8D #4C51B7 #787CC8

Accessibility & contrast

On white

9.43
#393D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#393D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393D8D
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393D8D#FFFFFF#000000##FFFFFF
##393D8D1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034A90
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#01505F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #393d8d;
/* rgb */ color: rgb(57, 61, 141);
/* oklch */ color: oklch(40.4% 0.130 276.7);
Tailwind
colors: {
  custom: {
    50: '#7872af',
    500: '#393d8d',
    950: '#000000',
  },
}
SCSS
$custom: #393d8d;
$custom-light: #7872af;
$custom-dark: #000000;
JSON
{
  "hex": "#393d8d",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 237.143,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40358,
    "c": 0.1303,
    "h": 276.7
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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