#394FB5#394FB5

#394FB5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.163 H 269.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#394FB5
RGBrgb(57, 79, 181)
HSLhsl(229, 52%, 47%)
HSVhsv(229, 69%, 71%)
CMYKcmyk(68.5%, 56.4%, 0%, 29%)
CIE-LABlab(37.48, 25.93, -56.69)
CIE-LCHlch(37.48, 62.34, 294.58°)
OKLaboklab(47.09% -0.0005 -0.1632)
OKLCHoklch(47.09% 0.163 269.8)
XYZxyz(12.8210, 9.7968, 44.9224)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FB5 #B59F39
analogous
#398DB5 #394FB5 #6139B5
triadic
#394FB5 #B5394F #4FB539
tetradic
#394FB5 #B5398D #B59F39 #39B561
square
#394FB5 #B5398D #B59F39 #39B561
split-complementary
#394FB5 #B56139 #8DB539
monochromatic
#1C2658 #2A3B86 #394FB5 #5F72CD #8D9BDB

Accessibility & contrast

On white

7.10
#394FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#394FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394FB5
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FB5#FFFFFF#000000##FFFFFF
##394FB51.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #394fb5;
/* rgb */ color: rgb(57, 79, 181);
/* oklch */ color: oklch(47.1% 0.163 269.8);
Tailwind
colors: {
  custom: {
    50: '#7e80cc',
    500: '#394fb5',
    950: '#000000',
  },
}
SCSS
$custom: #394fb5;
$custom-light: #7e80cc;
$custom-dark: #000000;
JSON
{
  "hex": "#394fb5",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 229.355,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47086,
    "c": 0.16318,
    "h": 269.8
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#394FB5
secondary
#C6BA84
accent
#C24CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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