#394EA7#394EA7

#394EA7 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.145 H 269.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#394EA7
RGBrgb(57, 78, 167)
HSLhsl(229, 49%, 44%)
HSVhsv(229, 66%, 65%)
CMYKcmyk(65.9%, 53.3%, 0%, 34.5%)
CIE-LABlab(36.19, 21.51, -50.47)
CIE-LCHlch(36.19, 54.86, 293.08°)
OKLaboklab(45.8% -0.0004 -0.1449)
OKLCHoklch(45.8% 0.145 269.8)
XYZxyz(11.3844, 9.1076, 37.7097)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EA7 #A79239
analogous
#3985A7 #394EA7 #5B39A7
triadic
#394EA7 #A7394E #4EA739
tetradic
#394EA7 #A73985 #A79239 #39A75B
square
#394EA7 #A73985 #A79239 #39A75B
split-complementary
#394EA7 #A75B39 #85A739
monochromatic
#1A234C #293979 #394EA7 #576CC6 #8594D5

Accessibility & contrast

On white

7.44
#394EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#394EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394EA7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EA7#FFFFFF#000000##FFFFFF
##394EA71.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155AAA
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394ea7;
/* rgb */ color: rgb(57, 78, 167);
/* oklch */ color: oklch(45.8% 0.145 269.8);
Tailwind
colors: {
  custom: {
    50: '#7c7fc2',
    500: '#394ea7',
    950: '#000000',
  },
}
SCSS
$custom: #394ea7;
$custom-light: #7c7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#394ea7",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 228.545,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45798,
    "c": 0.14489,
    "h": 269.8
  },
  "luminance": 0.09109
}

Semantic roles & 50–950 ramp

primary
#394EA7
secondary
#BFB37D
accent
#BE4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #394EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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