#394EB3#394EB3

#394EB3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.162 H 270.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#394EB3
RGBrgb(57, 78, 179)
HSLhsl(230, 52%, 46%)
HSVhsv(230, 68%, 70%)
CMYKcmyk(68.2%, 56.4%, 0%, 29.8%)
CIE-LABlab(37.06, 25.86, -56.18)
CIE-LCHlch(37.06, 61.84, 294.71°)
OKLaboklab(46.73% 0.0003 -0.1617)
OKLCHoklch(46.73% 0.162 270.1)
XYZxyz(12.5456, 9.5721, 43.8255)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EB3 #B39E39
analogous
#398BB3 #394EB3 #6139B3
triadic
#394EB3 #B3394E #4EB339
tetradic
#394EB3 #B3398B #B39E39 #39B361
square
#394EB3 #B3398B #B39E39 #39B361
split-complementary
#394EB3 #B36139 #8BB339
monochromatic
#1B2656 #2A3A85 #394EB3 #5E71CC #8C9ADA

Accessibility & contrast

On white

7.21
#394EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#394EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394EB3
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EB3#FFFFFF#000000##FFFFFF
##394EB31.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #394eb3;
/* rgb */ color: rgb(57, 78, 179);
/* oklch */ color: oklch(46.7% 0.162 270.1);
Tailwind
colors: {
  custom: {
    50: '#7e7fca',
    500: '#394eb3',
    950: '#000000',
  },
}
SCSS
$custom: #394eb3;
$custom-light: #7e7fca;
$custom-dark: #000000;
JSON
{
  "hex": "#394eb3",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 229.672,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46731,
    "c": 0.16169,
    "h": 270.1
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#394EB3
secondary
#C5BA83
accent
#C34DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #394EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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