#394D9F#394D9F

#394D9F is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.135 H 269.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#394D9F
RGBrgb(57, 77, 159)
HSLhsl(228, 47%, 42%)
HSVhsv(228, 64%, 62%)
CMYKcmyk(64.2%, 51.6%, 0%, 37.6%)
CIE-LABlab(35.36, 19.27, -47.02)
CIE-LCHlch(35.36, 50.81, 292.29°)
OKLaboklab(44.99% -0.0002 -0.1347)
OKLCHoklch(44.99% 0.135 269.9)
XYZxyz(10.5971, 8.6799, 33.9111)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394D9F #9F8B39
analogous
#39809F #394D9F #58399F
triadic
#394D9F #9F394D #4D9F39
tetradic
#394D9F #9F3980 #9F8B39 #399F58
square
#394D9F #9F3980 #9F8B39 #399F58
split-complementary
#394D9F #9F5839 #809F39
monochromatic
#192145 #293772 #394D9F #5469C2 #8191D2

Accessibility & contrast

On white

7.67
#394D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#394D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394D9F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394D9F#FFFFFF#000000##FFFFFF
##394D9F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #394d9f;
/* rgb */ color: rgb(57, 77, 159);
/* oklch */ color: oklch(45.0% 0.135 269.9);
Tailwind
colors: {
  custom: {
    50: '#7a7ebc',
    500: '#394d9f',
    950: '#000000',
  },
}
SCSS
$custom: #394d9f;
$custom-light: #7a7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#394d9f",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 228.235,
    "s": 47.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44993,
    "c": 0.13475,
    "h": 269.9
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#394D9F
secondary
#BBAE78
accent
#BD51D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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