#394FA7#394FA7

#394FA7 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.144 H 269.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#394FA7
RGBrgb(57, 79, 167)
HSLhsl(228, 49%, 44%)
HSVhsv(228, 66%, 65%)
CMYKcmyk(65.9%, 52.7%, 0%, 34.5%)
CIE-LABlab(36.46, 20.85, -50.03)
CIE-LCHlch(36.46, 54.20, 292.63°)
OKLaboklab(46% -0.0014 -0.1436)
OKLCHoklch(46% 0.144 269.4)
XYZxyz(11.4560, 9.2508, 37.7336)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394FA7 #A79139
analogous
#3986A7 #394FA7 #5A39A7
triadic
#394FA7 #A7394F #4FA739
tetradic
#394FA7 #A73986 #A79139 #39A75A
square
#394FA7 #A73986 #A79139 #39A75A
split-complementary
#394FA7 #A75A39 #86A739
monochromatic
#1A244C #293979 #394FA7 #576DC6 #8595D5

Accessibility & contrast

On white

7.37
#394FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#394FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394FA7
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394FA7#FFFFFF#000000##FFFFFF
##394FA71.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185BAA
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #394fa7;
/* rgb */ color: rgb(57, 79, 167);
/* oklch */ color: oklch(46.0% 0.144 269.4);
Tailwind
colors: {
  custom: {
    50: '#7b80c2',
    500: '#394fa7',
    950: '#000000',
  },
}
SCSS
$custom: #394fa7;
$custom-light: #7b80c2;
$custom-dark: #000000;
JSON
{
  "hex": "#394fa7",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 228,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46004,
    "c": 0.14359,
    "h": 269.4
  },
  "luminance": 0.09252
}

Semantic roles & 50–950 ramp

primary
#394FA7
secondary
#BFB27D
accent
#BD4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #394FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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