#394B8D#394B8D

#394B8D is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.3% C 0.111 H 269.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#394B8D
RGBrgb(57, 75, 141)
HSLhsl(227, 42%, 39%)
HSVhsv(227, 60%, 55%)
CMYKcmyk(59.6%, 46.8%, 0%, 44.7%)
CIE-LABlab(33.61, 14.12, -38.90)
CIE-LCHlch(33.61, 41.39, 289.95°)
OKLaboklab(43.29% -0.0004 -0.1109)
OKLCHoklch(43.29% 0.111 269.8)
XYZxyz(9.0095, 7.8244, 26.2296)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394B8D #8D7B39
analogous
#39758D #394B8D #51398D
triadic
#394B8D #8D394B #4B8D39
tetradic
#394B8D #8D3975 #8D7B39 #398D51
square
#394B8D #8D3975 #8D7B39 #398D51
split-complementary
#394B8D #8D5139 #758D39
monochromatic
#161D36 #273461 #394B8D #4C63B7 #7889C8

Accessibility & contrast

On white

8.19
#394B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394B8D
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394B8D#FFFFFF#000000##FFFFFF
##394B8D1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D538F
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #394b8d;
/* rgb */ color: rgb(57, 75, 141);
/* oklch */ color: oklch(43.3% 0.111 269.8);
Tailwind
colors: {
  custom: {
    50: '#777daf',
    500: '#394b8d',
    950: '#000000',
  },
}
SCSS
$custom: #394b8d;
$custom-light: #777daf;
$custom-dark: #000000;
JSON
{
  "hex": "#394b8d",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 141
  },
  "hsl": {
    "h": 227.143,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43286,
    "c": 0.11091,
    "h": 269.8
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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