#4E71A6#4E71A6

#4E71A6 is a mid, moderate blue. Relative luminance 0.162; OKLCH L 54.6% C 0.093 H 258.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4E71A6
RGBrgb(78, 113, 166)
HSLhsl(216, 36%, 48%)
HSVhsv(216, 53%, 65%)
CMYKcmyk(53%, 31.9%, 0%, 34.9%)
CIE-LABlab(47.21, 3.19, -32.26)
CIE-LCHlch(47.21, 32.42, 275.65°)
OKLaboklab(54.57% -0.0185 -0.0908)
OKLCHoklch(54.57% 0.093 258.5)
XYZxyz(15.9276, 16.1819, 38.3531)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71A6 #A6834E
analogous
#4E9DA6 #4E71A6 #574EA6
triadic
#4E71A6 #A64E71 #71A64E
tetradic
#4E71A6 #A64E9D #A6834E #4EA657
square
#4E71A6 #A64E9D #A6834E #4EA657
split-complementary
#4E71A6 #A6574E #9DA64E
monochromatic
#273853 #3A557C #4E71A6 #7491BE #9DB2D1

Accessibility & contrast

On white

4.96
#4E71A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4E71A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71A6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71A6#FFFFFF#000000##FFFFFF
##4E71A61.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C75A8
Deuteranopia (green-blind)
#516CA5
Tritanopia (blue-blind)
#207D84
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e71a6;
/* rgb */ color: rgb(78, 113, 166);
/* oklch */ color: oklch(54.6% 0.093 258.5);
Tailwind
colors: {
  custom: {
    50: '#8599c0',
    500: '#4e71a6',
    950: '#000000',
  },
}
SCSS
$custom: #4e71a6;
$custom-light: #8599c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71a6",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 166
  },
  "hsl": {
    "h": 216.136,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54567,
    "c": 0.09263,
    "h": 258.5
  },
  "luminance": 0.16183
}

Semantic roles & 50–950 ramp

primary
#4E71A6
secondary
#BEAC92
accent
#9F5CCC
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4E71A6

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

Preview Lab → · Contrast checker → · Palette generator →

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