#394AB7#394AB7

#394AB7 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.172 H 271.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#394AB7
RGBrgb(57, 74, 183)
HSLhsl(232, 53%, 47%)
HSVhsv(232, 69%, 72%)
CMYKcmyk(68.9%, 59.6%, 0%, 28.2%)
CIE-LABlab(36.34, 29.89, -59.72)
CIE-LCHlch(36.34, 66.78, 296.59°)
OKLaboklab(46.29% 0.0037 -0.1721)
OKLCHoklch(46.29% 0.172 271.2)
XYZxyz(12.6805, 9.1851, 45.8952)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AB7 #B7A639
analogous
#3989B7 #394AB7 #6739B7
triadic
#394AB7 #B7394A #4AB739
tetradic
#394AB7 #B73989 #B7A639 #39B767
square
#394AB7 #B73989 #B7A639 #39B767
split-complementary
#394AB7 #B76739 #89B739
monochromatic
#1C245A #2A3788 #394AB7 #606FCD #8E99DC

Accessibility & contrast

On white

7.40
#394AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394AB7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394AB7#FFFFFF#000000##FFFFFF
##394AB71.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394ab7;
/* rgb */ color: rgb(57, 74, 183);
/* oklch */ color: oklch(46.3% 0.172 271.2);
Tailwind
colors: {
  custom: {
    50: '#7f7ccd',
    500: '#394ab7',
    950: '#000000',
  },
}
SCSS
$custom: #394ab7;
$custom-light: #7f7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#394ab7",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 183
  },
  "hsl": {
    "h": 231.905,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46287,
    "c": 0.17218,
    "h": 271.2
  },
  "luminance": 0.09186
}

Semantic roles & 50–950 ramp

primary
#394AB7
secondary
#C7BE85
accent
#C84CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #394AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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