#394EAA#394EAA

#394EAA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.149 H 269.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#394EAA
RGBrgb(57, 78, 170)
HSLhsl(229, 50%, 45%)
HSVhsv(229, 66%, 67%)
CMYKcmyk(66.5%, 54.1%, 0%, 33.3%)
CIE-LABlab(36.40, 22.60, -51.91)
CIE-LCHlch(36.40, 56.62, 293.52°)
OKLaboklab(46.03% -0.0002 -0.1491)
OKLCHoklch(46.03% 0.149 269.9)
XYZxyz(11.6650, 9.2198, 39.1873)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EAA #AA9539
analogous
#3986AA #394EAA #5D39AA
triadic
#394EAA #AA394E #4EAA39
tetradic
#394EAA #AA3986 #AA9539 #39AA5D
square
#394EAA #AA3986 #AA9539 #39AA5D
split-complementary
#394EAA #AA5D39 #86AA39
monochromatic
#1A244E #2A397C #394EAA #596DC7 #8796D7

Accessibility & contrast

On white

7.38
#394EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#394EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394EAA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EAA#FFFFFF#000000##FFFFFF
##394EAA1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5BAD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394eaa;
/* rgb */ color: rgb(57, 78, 170);
/* oklch */ color: oklch(46.0% 0.149 269.9);
Tailwind
colors: {
  custom: {
    50: '#7c7fc4',
    500: '#394eaa',
    950: '#000000',
  },
}
SCSS
$custom: #394eaa;
$custom-light: #7c7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#394eaa",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 228.85,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46027,
    "c": 0.14914,
    "h": 269.9
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#394EAA
secondary
#C1B47E
accent
#C04ED9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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