#394FB7#394FB7

#394FB7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.166 H 269.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#394FB7
RGBrgb(57, 79, 183)
HSLhsl(230, 53%, 47%)
HSVhsv(230, 69%, 72%)
CMYKcmyk(68.9%, 56.8%, 0%, 28.2%)
CIE-LABlab(37.63, 26.65, -57.63)
CIE-LCHlch(37.63, 63.49, 294.82°)
OKLaboklab(47.25% -0.0004 -0.1659)
OKLCHoklch(47.25% 0.166 269.9)
XYZxyz(13.0277, 9.8795, 46.0109)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FB7 #B7A139
analogous
#398EB7 #394FB7 #6239B7
triadic
#394FB7 #B7394F #4FB739
tetradic
#394FB7 #B7398E #B7A139 #39B762
square
#394FB7 #B7398E #B7A139 #39B762
split-complementary
#394FB7 #B76239 #8EB739
monochromatic
#1C275A #2A3B88 #394FB7 #6073CD #8E9CDC

Accessibility & contrast

On white

7.06
#394FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#394FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394FB7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FB7#FFFFFF#000000##FFFFFF
##394FB71.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #394fb7;
/* rgb */ color: rgb(57, 79, 183);
/* oklch */ color: oklch(47.2% 0.166 269.9);
Tailwind
colors: {
  custom: {
    50: '#7f80cd',
    500: '#394fb7',
    950: '#000000',
  },
}
SCSS
$custom: #394fb7;
$custom-light: #7f80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#394fb7",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 229.524,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47246,
    "c": 0.16593,
    "h": 269.9
  },
  "luminance": 0.09881
}

Semantic roles & 50–950 ramp

primary
#394FB7
secondary
#C7BB85
accent
#C34CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #394FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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