#394C8D#394C8D

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

Color values

HEX#394C8D
RGBrgb(57, 76, 141)
HSLhsl(226, 42%, 39%)
HSVhsv(226, 60%, 55%)
CMYKcmyk(59.6%, 46.1%, 0%, 44.7%)
CIE-LABlab(33.90, 13.46, -38.44)
CIE-LCHlch(33.90, 40.73, 289.30°)
OKLaboklab(43.51% -0.0015 -0.1095)
OKLCHoklch(43.51% 0.11 269.2)
XYZxyz(9.0779, 7.9611, 26.2524)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394C8D #8D7A39
analogous
#39768D #394C8D #50398D
triadic
#394C8D #8D394C #4C8D39
tetradic
#394C8D #8D3976 #8D7A39 #398D50
square
#394C8D #8D3976 #8D7A39 #398D50
split-complementary
#394C8D #8D5039 #768D39
monochromatic
#161D36 #273561 #394C8D #4C64B7 #788AC8

Accessibility & contrast

On white

8.10
#394C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#394C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394C8D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394C8D#FFFFFF#000000##FFFFFF
##394C8D1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E548F
Deuteranopia (green-blind)
#234C8C
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #394c8d;
/* rgb */ color: rgb(57, 76, 141);
/* oklch */ color: oklch(43.5% 0.110 269.2);
Tailwind
colors: {
  custom: {
    50: '#777daf',
    500: '#394c8d',
    950: '#000000',
  },
}
SCSS
$custom: #394c8d;
$custom-light: #777daf;
$custom-dark: #000000;
JSON
{
  "hex": "#394c8d",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 226.429,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43505,
    "c": 0.10956,
    "h": 269.2
  },
  "luminance": 0.07962
}

Semantic roles & 50–950 ramp

primary
#394C8D
secondary
#B2A370
accent
#B656D2
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #394C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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