#394DB6#394DB6

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

Color values

HEX#394DB6
RGBrgb(57, 77, 182)
HSLhsl(230, 52%, 47%)
HSVhsv(230, 69%, 71%)
CMYKcmyk(68.7%, 57.7%, 0%, 28.6%)
CIE-LABlab(37.03, 27.59, -58.00)
CIE-LCHlch(37.03, 64.23, 295.44°)
OKLaboklab(46.78% 0.0012 -0.1671)
OKLCHoklch(46.78% 0.167 270.4)
XYZxyz(12.7818, 9.5538, 45.4174)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394DB6 #B6A239
analogous
#398CB6 #394DB6 #6439B6
triadic
#394DB6 #B6394D #4DB639
tetradic
#394DB6 #B6398C #B6A239 #39B664
square
#394DB6 #B6398C #B6A239 #39B664
split-complementary
#394DB6 #B66439 #8CB639
monochromatic
#1C2659 #2A3987 #394DB6 #5F71CD #8E9ADC

Accessibility & contrast

On white

7.21
#394DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#394DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394DB6
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394DB6#FFFFFF#000000##FFFFFF
##394DB61.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394db6;
/* rgb */ color: rgb(57, 77, 182);
/* oklch */ color: oklch(46.8% 0.167 270.4);
Tailwind
colors: {
  custom: {
    50: '#7f7ecd',
    500: '#394db6',
    950: '#000000',
  },
}
SCSS
$custom: #394db6;
$custom-light: #7f7ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#394db6",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 182
  },
  "hsl": {
    "h": 230.4,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46777,
    "c": 0.16707,
    "h": 270.4
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#394DB6
secondary
#C6BC85
accent
#C54CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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