#394E9B#394E9B

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

Color values

HEX#394E9B
RGBrgb(57, 78, 155)
HSLhsl(227, 46%, 42%)
HSVhsv(227, 63%, 61%)
CMYKcmyk(63.2%, 49.7%, 0%, 39.2%)
CIE-LABlab(35.37, 17.16, -44.59)
CIE-LCHlch(35.37, 47.78, 291.05°)
OKLaboklab(44.91% -0.0016 -0.1276)
OKLCHoklch(44.91% 0.128 269.3)
XYZxyz(10.3261, 8.6843, 32.1361)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394E9B #9B8639
analogous
#397F9B #394E9B #55399B
triadic
#394E9B #9B394E #4E9B39
tetradic
#394E9B #9B397F #9B8639 #399B55
square
#394E9B #9B397F #9B8639 #399B55
split-complementary
#394E9B #9B5539 #7F9B39
monochromatic
#182142 #29376E #394E9B #5269BF #7F90D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##394E9B#FFFFFF#000000##FFFFFF
##394E9B1.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)
#26589E
Deuteranopia (green-blind)
#124F99
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #394e9b;
/* rgb */ color: rgb(57, 78, 155);
/* oklch */ color: oklch(44.9% 0.128 269.3);
Tailwind
colors: {
  custom: {
    50: '#797fb9',
    500: '#394e9b',
    950: '#000000',
  },
}
SCSS
$custom: #394e9b;
$custom-light: #797fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#394e9b",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 227.143,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44914,
    "c": 0.12761,
    "h": 269.3
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#394E9B
secondary
#B9AB77
accent
#BA52D6
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #394E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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