#394FB9#394FB9

#394FB9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.169 H 269.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#394FB9
RGBrgb(57, 79, 185)
HSLhsl(230, 53%, 47%)
HSVhsv(230, 69%, 73%)
CMYKcmyk(69.2%, 57.3%, 0%, 27.5%)
CIE-LABlab(37.78, 27.38, -58.56)
CIE-LCHlch(37.78, 64.64, 295.06°)
OKLaboklab(47.41% -0.0003 -0.1687)
OKLCHoklch(47.41% 0.169 269.9)
XYZxyz(13.2373, 9.9633, 47.1150)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FB9 #B9A339
analogous
#398FB9 #394FB9 #6339B9
triadic
#394FB9 #B9394F #4FB939
tetradic
#394FB9 #B9398F #B9A339 #39B963
square
#394FB9 #B9398F #B9A339 #39B963
split-complementary
#394FB9 #B96339 #8FB939
monochromatic
#1C275B #2B3B8A #394FB9 #6174CE #909DDD

Accessibility & contrast

On white

7.02
#394FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#394FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394FB9
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FB9#FFFFFF#000000##FFFFFF
##394FB91.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394fb9;
/* rgb */ color: rgb(57, 79, 185);
/* oklch */ color: oklch(47.4% 0.169 269.9);
Tailwind
colors: {
  custom: {
    50: '#7f80cf',
    500: '#394fb9',
    950: '#000000',
  },
}
SCSS
$custom: #394fb9;
$custom-light: #7f80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#394fb9",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 229.688,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47407,
    "c": 0.16867,
    "h": 269.9
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#394FB9
secondary
#C8BC86
accent
#C34BDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #394FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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