#394A8D#394A8D

#394A8D is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.1% C 0.112 H 270.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#394A8D
RGBrgb(57, 74, 141)
HSLhsl(228, 42%, 39%)
HSVhsv(228, 60%, 55%)
CMYKcmyk(59.6%, 47.5%, 0%, 44.7%)
CIE-LABlab(33.33, 14.79, -39.36)
CIE-LCHlch(33.33, 42.05, 290.59°)
OKLaboklab(43.07% 0.0008 -0.1123)
OKLCHoklch(43.07% 0.112 270.4)
XYZxyz(8.9422, 7.6898, 26.2072)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394A8D #8D7C39
analogous
#39748D #394A8D #52398D
triadic
#394A8D #8D394A #4A8D39
tetradic
#394A8D #8D3974 #8D7C39 #398D52
square
#394A8D #8D3974 #8D7C39 #398D52
split-complementary
#394A8D #8D5239 #748D39
monochromatic
#161C36 #273361 #394A8D #4C62B7 #7888C8

Accessibility & contrast

On white

8.27
#394A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#394A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394A8D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394A8D#FFFFFF#000000##FFFFFF
##394A8D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #394a8d;
/* rgb */ color: rgb(57, 74, 141);
/* oklch */ color: oklch(43.1% 0.112 270.4);
Tailwind
colors: {
  custom: {
    50: '#777caf',
    500: '#394a8d',
    950: '#000000',
  },
}
SCSS
$custom: #394a8d;
$custom-light: #777caf;
$custom-dark: #000000;
JSON
{
  "hex": "#394a8d",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 227.857,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.11227,
    "h": 270.4
  },
  "luminance": 0.07691
}

Semantic roles & 50–950 ramp

primary
#394A8D
secondary
#B2A470
accent
#B956D2
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #394A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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