#394D8D#394D8D

#394D8D is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.7% C 0.108 H 268.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#394D8D
RGBrgb(57, 77, 141)
HSLhsl(226, 42%, 39%)
HSVhsv(226, 60%, 55%)
CMYKcmyk(59.6%, 45.4%, 0%, 44.7%)
CIE-LABlab(34.19, 12.80, -37.98)
CIE-LCHlch(34.19, 40.08, 288.62°)
OKLaboklab(43.73% -0.0027 -0.1082)
OKLCHoklch(43.73% 0.108 268.6)
XYZxyz(9.1473, 8.1000, 26.2756)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394D8D #8D7939
analogous
#39778D #394D8D #4F398D
triadic
#394D8D #8D394D #4D8D39
tetradic
#394D8D #8D3977 #8D7939 #398D4F
square
#394D8D #8D3977 #8D7939 #398D4F
split-complementary
#394D8D #8D4F39 #778D39
monochromatic
#161D36 #273561 #394D8D #4C66B7 #788BC8

Accessibility & contrast

On white

8.01
#394D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#394D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394D8D
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394D8D#FFFFFF#000000##FFFFFF
##394D8D1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#254D8C
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #394d8d;
/* rgb */ color: rgb(57, 77, 141);
/* oklch */ color: oklch(43.7% 0.108 268.6);
Tailwind
colors: {
  custom: {
    50: '#777eaf',
    500: '#394d8d',
    950: '#000000',
  },
}
SCSS
$custom: #394d8d;
$custom-light: #777eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#394d8d",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 225.714,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43726,
    "c": 0.10822,
    "h": 268.6
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#394D8D
secondary
#B2A270
accent
#B556D2
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #394D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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