#394AB4#394AB4

#394AB4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.168 H 271.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#394AB4
RGBrgb(57, 74, 180)
HSLhsl(232, 52%, 46%)
HSVhsv(232, 68%, 71%)
CMYKcmyk(68.3%, 58.9%, 0%, 29.4%)
CIE-LABlab(36.10, 28.82, -58.33)
CIE-LCHlch(36.10, 65.06, 296.29°)
OKLaboklab(46.04% 0.0037 -0.1681)
OKLCHoklch(46.04% 0.168 271.3)
XYZxyz(12.3716, 9.0615, 44.2682)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AB4 #B4A339
analogous
#3988B4 #394AB4 #6639B4
triadic
#394AB4 #B4394A #4AB439
tetradic
#394AB4 #B43988 #B4A339 #39B466
square
#394AB4 #B43988 #B4A339 #39B466
split-complementary
#394AB4 #B46639 #88B439
monochromatic
#1C2457 #2A3786 #394AB4 #5E6DCC #8D97DB

Accessibility & contrast

On white

7.47
#394AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#394AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394AB4
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AB4#FFFFFF#000000##FFFFFF
##394AB41.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394ab4;
/* rgb */ color: rgb(57, 74, 180);
/* oklch */ color: oklch(46.0% 0.168 271.3);
Tailwind
colors: {
  custom: {
    50: '#7e7ccb',
    500: '#394ab4',
    950: '#000000',
  },
}
SCSS
$custom: #394ab4;
$custom-light: #7e7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#394ab4",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 231.707,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46038,
    "c": 0.16811,
    "h": 271.3
  },
  "luminance": 0.09063
}

Semantic roles & 50–950 ramp

primary
#394AB4
secondary
#C5BC83
accent
#C84CDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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