#394D9C#394D9C

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

Color values

HEX#394D9C
RGBrgb(57, 77, 156)
HSLhsl(228, 46%, 42%)
HSVhsv(228, 63%, 61%)
CMYKcmyk(63.5%, 50.6%, 0%, 38.8%)
CIE-LABlab(35.16, 18.18, -45.54)
CIE-LCHlch(35.16, 49.03, 291.77°)
OKLaboklab(44.77% -0.0005 -0.1304)
OKLCHoklch(44.77% 0.13 269.8)
XYZxyz(10.3399, 8.5770, 32.5567)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394D9C #9C8839
analogous
#397F9C #394D9C #57399C
triadic
#394D9C #9C394D #4D9C39
tetradic
#394D9C #9C397F #9C8839 #399C57
square
#394D9C #9C397F #9C8839 #399C57
split-complementary
#394D9C #9C5739 #7F9C39
monochromatic
#182142 #29376F #394D9C #5268C0 #7F90D0

Accessibility & contrast

On white

7.73
#394D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394D9C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394D9C#FFFFFF#000000##FFFFFF
##394D9C1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22579F
Deuteranopia (green-blind)
#0A4E9A
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #394d9c;
/* rgb */ color: rgb(57, 77, 156);
/* oklch */ color: oklch(44.8% 0.130 269.8);
Tailwind
colors: {
  custom: {
    50: '#797eba',
    500: '#394d9c',
    950: '#000000',
  },
}
SCSS
$custom: #394d9c;
$custom-light: #797eba;
$custom-dark: #000000;
JSON
{
  "hex": "#394d9c",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 156
  },
  "hsl": {
    "h": 227.879,
    "s": 46.479,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44774,
    "c": 0.1304,
    "h": 269.8
  },
  "luminance": 0.08578
}

Semantic roles & 50–950 ramp

primary
#394D9C
secondary
#BAAC77
accent
#BB52D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #394D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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