#394FB1#394FB1

#394FB1 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.158 H 269.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#394FB1
RGBrgb(57, 79, 177)
HSLhsl(229, 51%, 46%)
HSVhsv(229, 68%, 69%)
CMYKcmyk(67.8%, 55.4%, 0%, 30.6%)
CIE-LABlab(37.18, 24.48, -54.81)
CIE-LCHlch(37.18, 60.03, 294.07°)
OKLaboklab(46.77% -0.0007 -0.1577)
OKLCHoklch(46.77% 0.158 269.8)
XYZxyz(12.4164, 9.6350, 42.7918)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FB1 #B19B39
analogous
#398BB1 #394FB1 #5F39B1
triadic
#394FB1 #B1394F #4FB139
tetradic
#394FB1 #B1398B #B19B39 #39B15F
square
#394FB1 #B1398B #B19B39 #39B15F
split-complementary
#394FB1 #B15F39 #8BB139
monochromatic
#1B2654 #2A3A83 #394FB1 #5D71CB #8B99DA

Accessibility & contrast

On white

7.17
#394FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#394FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394FB1
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FB1#FFFFFF#000000##FFFFFF
##394FB11.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #394fb1;
/* rgb */ color: rgb(57, 79, 177);
/* oklch */ color: oklch(46.8% 0.158 269.8);
Tailwind
colors: {
  custom: {
    50: '#7d80c9',
    500: '#394fb1',
    950: '#000000',
  },
}
SCSS
$custom: #394fb1;
$custom-light: #7d80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#394fb1",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 229,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46771,
    "c": 0.15765,
    "h": 269.8
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

primary
#394FB1
secondary
#C4B882
accent
#C14DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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