#394EA8#394EA8

#394EA8 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.146 H 269.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#394EA8
RGBrgb(57, 78, 168)
HSLhsl(229, 49%, 44%)
HSVhsv(229, 66%, 66%)
CMYKcmyk(66.1%, 53.6%, 0%, 34.1%)
CIE-LABlab(36.26, 21.87, -50.95)
CIE-LCHlch(36.26, 55.45, 293.23°)
OKLaboklab(45.87% -0.0003 -0.1463)
OKLCHoklch(45.87% 0.146 269.9)
XYZxyz(11.4772, 9.1447, 38.1985)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394EA8 #A89339
analogous
#3986A8 #394EA8 #5C39A8
triadic
#394EA8 #A8394E #4EA839
tetradic
#394EA8 #A83986 #A89339 #39A85C
square
#394EA8 #A83986 #A89339 #39A85C
split-complementary
#394EA8 #A85C39 #86A839
monochromatic
#1A244D #29397A #394EA8 #586DC6 #8695D6

Accessibility & contrast

On white

7.42
#394EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#394EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394EA8
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394EA8#FFFFFF#000000##FFFFFF
##394EA81.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125BAB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #394ea8;
/* rgb */ color: rgb(57, 78, 168);
/* oklch */ color: oklch(45.9% 0.146 269.9);
Tailwind
colors: {
  custom: {
    50: '#7c7fc2',
    500: '#394ea8',
    950: '#000000',
  },
}
SCSS
$custom: #394ea8;
$custom-light: #7c7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#394ea8",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 228.649,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45874,
    "c": 0.14631,
    "h": 269.9
  },
  "luminance": 0.09146
}

Semantic roles & 50–950 ramp

primary
#394EA8
secondary
#C0B37D
accent
#BF4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #394EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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