#394EA5#394EA5

#394EA5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.142 H 269.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#394EA5
RGBrgb(57, 78, 165)
HSLhsl(228, 49%, 44%)
HSVhsv(228, 65%, 65%)
CMYKcmyk(65.5%, 52.7%, 0%, 35.3%)
CIE-LABlab(36.05, 20.78, -49.50)
CIE-LCHlch(36.05, 53.69, 292.78°)
OKLaboklab(45.65% -0.0006 -0.142)
OKLCHoklch(45.65% 0.142 269.8)
XYZxyz(11.2010, 9.0342, 36.7435)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EA5 #A59039
analogous
#3984A5 #394EA5 #5A39A5
triadic
#394EA5 #A5394E #4EA539
tetradic
#394EA5 #A53984 #A59039 #39A55A
square
#394EA5 #A53984 #A59039 #39A55A
split-complementary
#394EA5 #A55A39 #84A539
monochromatic
#1A234A #293878 #394EA5 #566CC5 #8494D4

Accessibility & contrast

On white

7.48
#394EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394EA5
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EA5#FFFFFF#000000##FFFFFF
##394EA51.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185AA8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394ea5;
/* rgb */ color: rgb(57, 78, 165);
/* oklch */ color: oklch(45.6% 0.142 269.8);
Tailwind
colors: {
  custom: {
    50: '#7b7fc0',
    500: '#394ea5',
    950: '#000000',
  },
}
SCSS
$custom: #394ea5;
$custom-light: #7b7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#394ea5",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 228.333,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45647,
    "c": 0.14204,
    "h": 269.8
  },
  "luminance": 0.09035
}

Semantic roles & 50–950 ramp

primary
#394EA5
secondary
#BEB17B
accent
#BE50D8
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #394EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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