#394E8A#394E8A

#394E8A is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.102 H 267.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#394E8A
RGBrgb(57, 78, 138)
HSLhsl(224, 42%, 38%)
HSVhsv(224, 59%, 54%)
CMYKcmyk(58.7%, 43.5%, 0%, 45.9%)
CIE-LABlab(34.30, 11.07, -35.97)
CIE-LCHlch(34.30, 37.64, 287.10°)
OKLaboklab(43.75% -0.0044 -0.1023)
OKLCHoklch(43.75% 0.102 267.5)
XYZxyz(8.9976, 8.1529, 25.1394)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394E8A #8A7539
analogous
#39768A #394E8A #4C398A
triadic
#394E8A #8A394E #4E8A39
tetradic
#394E8A #8A3976 #8A7539 #398A4C
square
#394E8A #8A3976 #8A7539 #398A4C
split-complementary
#394E8A #8A4C39 #768A39
monochromatic
#151D33 #27365F #394E8A #4B67B5 #778BC7

Accessibility & contrast

On white

7.98
#394E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#394E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394E8A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394E8A#FFFFFF#000000##FFFFFF
##394E8A1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558C
Deuteranopia (green-blind)
#294D89
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #394e8a;
/* rgb */ color: rgb(57, 78, 138);
/* oklch */ color: oklch(43.8% 0.102 267.5);
Tailwind
colors: {
  custom: {
    50: '#767fac',
    500: '#394e8a',
    950: '#000000',
  },
}
SCSS
$custom: #394e8a;
$custom-light: #767fac;
$custom-dark: #000000;
JSON
{
  "hex": "#394e8a",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 224.444,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43751,
    "c": 0.10237,
    "h": 267.5
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#394E8A
secondary
#B09F6F
accent
#B156D1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #394E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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