#394D9D#394D9D

#394D9D is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.132 H 269.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#394D9D
RGBrgb(57, 77, 157)
HSLhsl(228, 47%, 42%)
HSVhsv(228, 64%, 62%)
CMYKcmyk(63.7%, 51%, 0%, 38.4%)
CIE-LABlab(35.22, 18.55, -46.03)
CIE-LCHlch(35.22, 49.63, 291.94°)
OKLaboklab(44.85% -0.0004 -0.1318)
OKLCHoklch(44.85% 0.132 269.8)
XYZxyz(10.4250, 8.6110, 33.0045)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394D9D #9D8939
analogous
#397F9D #394D9D #57399D
triadic
#394D9D #9D394D #4D9D39
tetradic
#394D9D #9D397F #9D8939 #399D57
square
#394D9D #9D397F #9D8939 #399D57
split-complementary
#394D9D #9D5739 #7F9D39
monochromatic
#182143 #293770 #394D9D #5369C0 #8090D1

Accessibility & contrast

On white

7.71
#394D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#394D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394D9D
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394D9D#FFFFFF#000000##FFFFFF
##394D9D1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2158A0
Deuteranopia (green-blind)
#074F9B
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #394d9d;
/* rgb */ color: rgb(57, 77, 157);
/* oklch */ color: oklch(44.8% 0.132 269.8);
Tailwind
colors: {
  custom: {
    50: '#7a7eba',
    500: '#394d9d',
    950: '#000000',
  },
}
SCSS
$custom: #394d9d;
$custom-light: #7a7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#394d9d",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 228,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44847,
    "c": 0.13185,
    "h": 269.8
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#394D9D
secondary
#BAAD78
accent
#BC51D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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