#394D8A#394D8A

#394D8A is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.5% C 0.104 H 268.2°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#394D8A
RGBrgb(57, 77, 138)
HSLhsl(225, 42%, 38%)
HSVhsv(225, 59%, 54%)
CMYKcmyk(58.7%, 44.2%, 0%, 45.9%)
CIE-LABlab(34.01, 11.73, -36.44)
CIE-LCHlch(34.01, 38.28, 287.84°)
OKLaboklab(43.53% -0.0032 -0.1036)
OKLCHoklch(43.53% 0.104 268.2)
XYZxyz(8.9271, 8.0119, 25.1158)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394D8A #8A7639
analogous
#39758A #394D8A #4D398A
triadic
#394D8A #8A394D #4D8A39
tetradic
#394D8A #8A3975 #8A7639 #398A4D
square
#394D8A #8A3975 #8A7639 #398A4D
split-complementary
#394D8A #8A4D39 #758A39
monochromatic
#151D33 #27355F #394D8A #4B65B5 #778AC7

Accessibility & contrast

On white

8.07
#394D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#394D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394D8A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394D8A#FFFFFF#000000##FFFFFF
##394D8A1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548C
Deuteranopia (green-blind)
#284D89
Tritanopia (blue-blind)
#015A64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #394d8a;
/* rgb */ color: rgb(57, 77, 138);
/* oklch */ color: oklch(43.5% 0.104 268.2);
Tailwind
colors: {
  custom: {
    50: '#767eac',
    500: '#394d8a',
    950: '#000000',
  },
}
SCSS
$custom: #394d8a;
$custom-light: #767eac;
$custom-dark: #000000;
JSON
{
  "hex": "#394d8a",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 225.185,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43527,
    "c": 0.1037,
    "h": 268.2
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

primary
#394D8A
secondary
#B0A06F
accent
#B356D1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #394D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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