#394C8F#394C8F

#394C8F is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.6% C 0.113 H 269.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#394C8F
RGBrgb(57, 76, 143)
HSLhsl(227, 43%, 39%)
HSVhsv(227, 60%, 56%)
CMYKcmyk(60.1%, 46.9%, 0%, 43.9%)
CIE-LABlab(34.03, 14.17, -39.46)
CIE-LCHlch(34.03, 41.93, 289.75°)
OKLaboklab(43.64% -0.0012 -0.1125)
OKLCHoklch(43.64% 0.113 269.4)
XYZxyz(9.2281, 8.0212, 27.0432)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394C8F #8F7C39
analogous
#39778F #394C8F #51398F
triadic
#394C8F #8F394C #4C8F39
tetradic
#394C8F #8F3977 #8F7C39 #398F51
square
#394C8F #8F3977 #8F7C39 #398F51
split-complementary
#394C8F #8F5139 #778F39
monochromatic
#161D37 #283563 #394C8F #4D65B8 #798BCA

Accessibility & contrast

On white

8.06
#394C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394C8F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394C8F#FFFFFF#000000##FFFFFF
##394C8F1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5492
Deuteranopia (green-blind)
#204C8E
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #394c8f;
/* rgb */ color: rgb(57, 76, 143);
/* oklch */ color: oklch(43.6% 0.113 269.4);
Tailwind
colors: {
  custom: {
    50: '#777db0',
    500: '#394c8f',
    950: '#000000',
  },
}
SCSS
$custom: #394c8f;
$custom-light: #777db0;
$custom-dark: #000000;
JSON
{
  "hex": "#394c8f",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 226.744,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43641,
    "c": 0.11256,
    "h": 269.4
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#394C8F
secondary
#B3A471
accent
#B755D3
background
#F7F7FA
surface
#EEEEF5
border
#C9C9CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #394C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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