#4E6797#4E6797

#4E6797 is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.5% C 0.082 H 262.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4E6797
RGBrgb(78, 103, 151)
HSLhsl(219, 32%, 45%)
HSVhsv(219, 48%, 59%)
CMYKcmyk(48.3%, 31.8%, 0%, 40.8%)
CIE-LABlab(43.59, 4.53, -29.08)
CIE-LCHlch(43.59, 29.43, 278.85°)
OKLaboklab(51.51% -0.0103 -0.0816)
OKLCHoklch(51.51% 0.082 262.8)
XYZxyz(13.5762, 13.5537, 31.1729)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6797 #977E4E
analogous
#4E8C97 #4E6797 #594E97
triadic
#4E6797 #974E67 #67974E
tetradic
#4E6797 #974E8C #977E4E #4E9759
square
#4E6797 #974E8C #977E4E #4E9759
split-complementary
#4E6797 #97594E #8C974E
monochromatic
#243046 #394B6F #4E6797 #6E86B4 #96A8C9

Accessibility & contrast

On white

5.66
#4E6797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4E6797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6797
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6797#FFFFFF#000000##FFFFFF
##4E67971.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556B99
Deuteranopia (green-blind)
#4D6496
Tritanopia (blue-blind)
#307178
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e6797;
/* rgb */ color: rgb(78, 103, 151);
/* oklch */ color: oklch(51.5% 0.082 262.8);
Tailwind
colors: {
  custom: {
    50: '#8492b6',
    500: '#4e6797',
    950: '#000000',
  },
}
SCSS
$custom: #4e6797;
$custom-light: #8492b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6797",
  "rgb": {
    "r": 78,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 219.452,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51505,
    "c": 0.08225,
    "h": 262.8
  },
  "luminance": 0.13555
}

Semantic roles & 50–950 ramp

primary
#4E6797
secondary
#B6A78B
accent
#A460C8
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4E6797

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

Preview Lab → · Contrast checker → · Palette generator →

#4E6797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva