#394FB4#394FB4

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

Color values

HEX#394FB4
RGBrgb(57, 79, 180)
HSLhsl(229, 52%, 46%)
HSVhsv(229, 68%, 71%)
CMYKcmyk(68.3%, 56.1%, 0%, 29.4%)
CIE-LABlab(37.40, 25.57, -56.22)
CIE-LCHlch(37.40, 61.76, 294.45°)
OKLaboklab(47.01% -0.0005 -0.1618)
OKLCHoklch(47.01% 0.162 269.8)
XYZxyz(12.7187, 9.7559, 44.3840)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FB4 #B49E39
analogous
#398DB4 #394FB4 #6139B4
triadic
#394FB4 #B4394F #4FB439
tetradic
#394FB4 #B4398D #B49E39 #39B461
square
#394FB4 #B4398D #B49E39 #39B461
split-complementary
#394FB4 #B46139 #8DB439
monochromatic
#1C2657 #2A3B86 #394FB4 #5E72CC #8D9BDB

Accessibility & contrast

On white

7.12
#394FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#394FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394FB4
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FB4#FFFFFF#000000##FFFFFF
##394FB41.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #394fb4;
/* rgb */ color: rgb(57, 79, 180);
/* oklch */ color: oklch(47.0% 0.162 269.8);
Tailwind
colors: {
  custom: {
    50: '#7e80cb',
    500: '#394fb4',
    950: '#000000',
  },
}
SCSS
$custom: #394fb4;
$custom-light: #7e80cb;
$custom-dark: #000000;
JSON
{
  "hex": "#394fb4",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 229.268,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47007,
    "c": 0.16181,
    "h": 269.8
  },
  "luminance": 0.09757
}

Semantic roles & 50–950 ramp

primary
#394FB4
secondary
#C5BA83
accent
#C24CDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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