#394DB8#394DB8

#394DB8 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.170 H 270.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#394DB8
RGBrgb(57, 77, 184)
HSLhsl(231, 53%, 47%)
HSVhsv(231, 69%, 72%)
CMYKcmyk(69%, 58.2%, 0%, 27.8%)
CIE-LABlab(37.18, 28.31, -58.93)
CIE-LCHlch(37.18, 65.38, 295.66°)
OKLaboklab(46.94% 0.0013 -0.1698)
OKLCHoklch(46.94% 0.17 270.4)
XYZxyz(12.9900, 9.6370, 46.5137)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DB8 #B8A439
analogous
#398DB8 #394DB8 #6439B8
triadic
#394DB8 #B8394D #4DB839
tetradic
#394DB8 #B8398D #B8A439 #39B864
square
#394DB8 #B8398D #B8A439 #39B864
split-complementary
#394DB8 #B86439 #8DB839
monochromatic
#1C265B #2B3989 #394DB8 #6072CE #8F9BDC

Accessibility & contrast

On white

7.17
#394DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#394DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394DB8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DB8#FFFFFF#000000##FFFFFF
##394DB81.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #394db8;
/* rgb */ color: rgb(57, 77, 184);
/* oklch */ color: oklch(46.9% 0.170 270.4);
Tailwind
colors: {
  custom: {
    50: '#7f7ece',
    500: '#394db8',
    950: '#000000',
  },
}
SCSS
$custom: #394db8;
$custom-light: #7f7ece;
$custom-dark: #000000;
JSON
{
  "hex": "#394db8",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 184
  },
  "hsl": {
    "h": 230.551,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4694,
    "c": 0.1698,
    "h": 270.4
  },
  "luminance": 0.09638
}

Semantic roles & 50–950 ramp

primary
#394DB8
secondary
#C7BD86
accent
#C54CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #394DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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