#394DB4#394DB4

#394DB4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.164 H 270.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#394DB4
RGBrgb(57, 77, 180)
HSLhsl(230, 52%, 46%)
HSVhsv(230, 68%, 71%)
CMYKcmyk(68.3%, 57.2%, 0%, 29.4%)
CIE-LABlab(36.88, 26.87, -57.07)
CIE-LCHlch(36.88, 63.08, 295.21°)
OKLaboklab(46.62% 0.0012 -0.1643)
OKLCHoklch(46.62% 0.164 270.4)
XYZxyz(12.5766, 9.4717, 44.3366)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DB4 #B4A039
analogous
#398BB4 #394DB4 #6339B4
triadic
#394DB4 #B4394D #4DB439
tetradic
#394DB4 #B4398B #B4A039 #39B463
square
#394DB4 #B4398B #B4A039 #39B463
split-complementary
#394DB4 #B46339 #8BB439
monochromatic
#1C2557 #2A3986 #394DB4 #5E70CC #8D99DB

Accessibility & contrast

On white

7.25
#394DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#394DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394DB4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DB4#FFFFFF#000000##FFFFFF
##394DB41.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #394db4;
/* rgb */ color: rgb(57, 77, 180);
/* oklch */ color: oklch(46.6% 0.164 270.4);
Tailwind
colors: {
  custom: {
    50: '#7e7ecb',
    500: '#394db4',
    950: '#000000',
  },
}
SCSS
$custom: #394db4;
$custom-light: #7e7ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#394db4",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 180
  },
  "hsl": {
    "h": 230.244,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46615,
    "c": 0.16433,
    "h": 270.4
  },
  "luminance": 0.09473
}

Semantic roles & 50–950 ramp

primary
#394DB4
secondary
#C5BB83
accent
#C44CDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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