#394EA6#394EA6

#394EA6 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.143 H 269.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#394EA6
RGBrgb(57, 78, 166)
HSLhsl(228, 49%, 44%)
HSVhsv(228, 66%, 65%)
CMYKcmyk(65.7%, 53%, 0%, 34.9%)
CIE-LABlab(36.12, 21.15, -49.98)
CIE-LCHlch(36.12, 54.27, 292.93°)
OKLaboklab(45.72% -0.0005 -0.1435)
OKLCHoklch(45.72% 0.143 269.8)
XYZxyz(11.2923, 9.0708, 37.2247)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EA6 #A69139
analogous
#3984A6 #394EA6 #5A39A6
triadic
#394EA6 #A6394E #4EA639
tetradic
#394EA6 #A63984 #A69139 #39A65A
square
#394EA6 #A63984 #A69139 #39A65A
split-complementary
#394EA6 #A65A39 #84A639
monochromatic
#1A234B #293978 #394EA6 #576CC5 #8494D5

Accessibility & contrast

On white

7.46
#394EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#394EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394EA6
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EA6#FFFFFF#000000##FFFFFF
##394EA61.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175AA9
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394ea6;
/* rgb */ color: rgb(57, 78, 166);
/* oklch */ color: oklch(45.7% 0.143 269.8);
Tailwind
colors: {
  custom: {
    50: '#7b7fc1',
    500: '#394ea6',
    950: '#000000',
  },
}
SCSS
$custom: #394ea6;
$custom-light: #7b7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#394ea6",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 228.44,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45723,
    "c": 0.14347,
    "h": 269.8
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#394EA6
secondary
#BFB27C
accent
#BE4FD8
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #394EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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