#394FB8#394FB8

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

Color values

HEX#394FB8
RGBrgb(57, 79, 184)
HSLhsl(230, 53%, 47%)
HSVhsv(230, 69%, 72%)
CMYKcmyk(69%, 57.1%, 0%, 27.8%)
CIE-LABlab(37.70, 27.02, -58.09)
CIE-LCHlch(37.70, 64.07, 294.94°)
OKLaboklab(47.33% -0.0004 -0.1673)
OKLCHoklch(47.33% 0.167 269.9)
XYZxyz(13.1321, 9.9212, 46.5610)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FB8 #B8A239
analogous
#398FB8 #394FB8 #6239B8
triadic
#394FB8 #B8394F #4FB839
tetradic
#394FB8 #B8398F #B8A239 #39B862
square
#394FB8 #B8398F #B8A239 #39B862
split-complementary
#394FB8 #B86239 #8FB839
monochromatic
#1C275B #2B3B89 #394FB8 #6073CE #8F9CDC

Accessibility & contrast

On white

7.04
#394FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394FB8
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FB8#FFFFFF#000000##FFFFFF
##394FB81.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #394fb8;
/* rgb */ color: rgb(57, 79, 184);
/* oklch */ color: oklch(47.3% 0.167 269.9);
Tailwind
colors: {
  custom: {
    50: '#7f80ce',
    500: '#394fb8',
    950: '#000000',
  },
}
SCSS
$custom: #394fb8;
$custom-light: #7f80ce;
$custom-dark: #000000;
JSON
{
  "hex": "#394fb8",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 229.606,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47326,
    "c": 0.1673,
    "h": 269.9
  },
  "luminance": 0.09923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #394FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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