#394EA0#394EA0

#394EA0 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.135 H 269.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#394EA0
RGBrgb(57, 78, 160)
HSLhsl(228, 47%, 43%)
HSVhsv(228, 64%, 63%)
CMYKcmyk(64.4%, 51.2%, 0%, 37.3%)
CIE-LABlab(35.71, 18.97, -47.06)
CIE-LCHlch(35.71, 50.74, 291.95°)
OKLaboklab(45.28% -0.0011 -0.1349)
OKLCHoklch(45.28% 0.135 269.5)
XYZxyz(10.7547, 8.8558, 34.3935)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EA0 #A08B39
analogous
#3981A0 #394EA0 #5839A0
triadic
#394EA0 #A0394E #4EA039
tetradic
#394EA0 #A03981 #A08B39 #39A058
square
#394EA0 #A03981 #A08B39 #39A058
split-complementary
#394EA0 #A05839 #81A039
monochromatic
#192246 #293873 #394EA0 #546BC2 #8192D2

Accessibility & contrast

On white

7.58
#394EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#394EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394EA0
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EA0#FFFFFF#000000##FFFFFF
##394EA01.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A3
Deuteranopia (green-blind)
#02509E
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #394ea0;
/* rgb */ color: rgb(57, 78, 160);
/* oklch */ color: oklch(45.3% 0.135 269.5);
Tailwind
colors: {
  custom: {
    50: '#7a7fbd',
    500: '#394ea0',
    950: '#000000',
  },
}
SCSS
$custom: #394ea0;
$custom-light: #7a7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#394ea0",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 227.767,
    "s": 47.465,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45276,
    "c": 0.13487,
    "h": 269.5
  },
  "luminance": 0.08857
}

Semantic roles & 50–950 ramp

primary
#394EA0
secondary
#BCAE79
accent
#BC51D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #394EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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