#394C8A#394C8A

#394C8A is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.3% C 0.105 H 268.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#394C8A
RGBrgb(57, 76, 138)
HSLhsl(226, 42%, 38%)
HSVhsv(226, 59%, 54%)
CMYKcmyk(58.7%, 44.9%, 0%, 45.9%)
CIE-LABlab(33.72, 12.39, -36.90)
CIE-LCHlch(33.72, 38.93, 288.56°)
OKLaboklab(43.3% -0.002 -0.105)
OKLCHoklch(43.3% 0.105 268.9)
XYZxyz(8.8577, 7.8730, 25.0927)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394C8A #8A7739
analogous
#39748A #394C8A #4E398A
triadic
#394C8A #8A394C #4C8A39
tetradic
#394C8A #8A3974 #8A7739 #398A4E
square
#394C8A #8A3974 #8A7739 #398A4E
split-complementary
#394C8A #8A4E39 #748A39
monochromatic
#151C33 #27345F #394C8A #4B64B5 #7789C7

Accessibility & contrast

On white

8.16
#394C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#394C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394C8A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394C8A#FFFFFF#000000##FFFFFF
##394C8A1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538C
Deuteranopia (green-blind)
#264C89
Tritanopia (blue-blind)
#015A64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #394c8a;
/* rgb */ color: rgb(57, 76, 138);
/* oklch */ color: oklch(43.3% 0.105 268.9);
Tailwind
colors: {
  custom: {
    50: '#767dac',
    500: '#394c8a',
    950: '#000000',
  },
}
SCSS
$custom: #394c8a;
$custom-light: #767dac;
$custom-dark: #000000;
JSON
{
  "hex": "#394c8a",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 225.926,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43304,
    "c": 0.10505,
    "h": 268.9
  },
  "luminance": 0.07874
}

Semantic roles & 50–950 ramp

primary
#394C8A
secondary
#B0A16F
accent
#B556D1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #394C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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