#394CB4#394CB4

#394CB4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.166 H 270.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#394CB4
RGBrgb(57, 76, 180)
HSLhsl(231, 52%, 46%)
HSVhsv(231, 68%, 71%)
CMYKcmyk(68.3%, 57.8%, 0%, 29.4%)
CIE-LABlab(36.62, 27.52, -57.49)
CIE-LCHlch(36.62, 63.74, 295.58°)
OKLaboklab(46.42% 0.002 -0.1656)
OKLCHoklch(46.42% 0.166 270.7)
XYZxyz(12.5072, 9.3328, 44.3135)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394CB4 #B4A139
analogous
#398AB4 #394CB4 #6439B4
triadic
#394CB4 #B4394C #4CB439
tetradic
#394CB4 #B4398A #B4A139 #39B464
square
#394CB4 #B4398A #B4A139 #39B464
split-complementary
#394CB4 #B46439 #8AB439
monochromatic
#1C2557 #2A3886 #394CB4 #5E6FCC #8D99DB

Accessibility & contrast

On white

7.33
#394CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#394CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394CB4
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394CB4#FFFFFF#000000##FFFFFF
##394CB41.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394cb4;
/* rgb */ color: rgb(57, 76, 180);
/* oklch */ color: oklch(46.4% 0.166 270.7);
Tailwind
colors: {
  custom: {
    50: '#7e7dcb',
    500: '#394cb4',
    950: '#000000',
  },
}
SCSS
$custom: #394cb4;
$custom-light: #7e7dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#394cb4",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 230.732,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46421,
    "c": 0.16559,
    "h": 270.7
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#394CB4
secondary
#C5BB83
accent
#C54CDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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