#394DB7#394DB7

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

Color values

HEX#394DB7
RGBrgb(57, 77, 183)
HSLhsl(230, 53%, 47%)
HSVhsv(230, 69%, 72%)
CMYKcmyk(68.9%, 57.9%, 0%, 28.2%)
CIE-LABlab(37.11, 27.95, -58.47)
CIE-LCHlch(37.11, 64.81, 295.55°)
OKLaboklab(46.86% 0.0013 -0.1684)
OKLCHoklch(46.86% 0.168 270.4)
XYZxyz(12.8856, 9.5953, 45.9636)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DB7 #B7A339
analogous
#398CB7 #394DB7 #6439B7
triadic
#394DB7 #B7394D #4DB739
tetradic
#394DB7 #B7398C #B7A339 #39B764
square
#394DB7 #B7398C #B7A339 #39B764
split-complementary
#394DB7 #B76439 #8CB739
monochromatic
#1C265A #2A3988 #394DB7 #6071CD #8E9BDC

Accessibility & contrast

On white

7.19
#394DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#394DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394DB7
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DB7#FFFFFF#000000##FFFFFF
##394DB71.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #394db7;
/* rgb */ color: rgb(57, 77, 183);
/* oklch */ color: oklch(46.9% 0.168 270.4);
Tailwind
colors: {
  custom: {
    50: '#7f7ecd',
    500: '#394db7',
    950: '#000000',
  },
}
SCSS
$custom: #394db7;
$custom-light: #7f7ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#394db7",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 230.476,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46858,
    "c": 0.16844,
    "h": 270.4
  },
  "luminance": 0.09597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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