#394AB5#394AB5

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

Color values

HEX#394AB5
RGBrgb(57, 74, 181)
HSLhsl(232, 52%, 47%)
HSVhsv(232, 69%, 71%)
CMYKcmyk(68.5%, 59.1%, 0%, 29%)
CIE-LABlab(36.18, 29.17, -58.79)
CIE-LCHlch(36.18, 65.64, 296.39°)
OKLaboklab(46.12% 0.0037 -0.1694)
OKLCHoklch(46.12% 0.169 271.2)
XYZxyz(12.4738, 9.1024, 44.8067)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394AB5 #B5A439
analogous
#3988B5 #394AB5 #6639B5
triadic
#394AB5 #B5394A #4AB539
tetradic
#394AB5 #B53988 #B5A439 #39B566
square
#394AB5 #B53988 #B5A439 #39B566
split-complementary
#394AB5 #B56639 #88B539
monochromatic
#1C2458 #2A3786 #394AB5 #5F6ECD #8D98DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##394AB5#FFFFFF#000000##FFFFFF
##394AB51.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)
#005BB9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394ab5;
/* rgb */ color: rgb(57, 74, 181);
/* oklch */ color: oklch(46.1% 0.169 271.2);
Tailwind
colors: {
  custom: {
    50: '#7f7ccc',
    500: '#394ab5',
    950: '#000000',
  },
}
SCSS
$custom: #394ab5;
$custom-light: #7f7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#394ab5",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 181
  },
  "hsl": {
    "h": 231.774,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4612,
    "c": 0.16947,
    "h": 271.2
  },
  "luminance": 0.09104
}

Semantic roles & 50–950 ramp

primary
#394AB5
secondary
#C6BD84
accent
#C84CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #394AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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