#4E71A7#4E71A7

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

Color values

HEX#4E71A7
RGBrgb(78, 113, 167)
HSLhsl(216, 36%, 48%)
HSVhsv(216, 53%, 65%)
CMYKcmyk(53.3%, 32.3%, 0%, 34.5%)
CIE-LABlab(47.26, 3.52, -32.77)
CIE-LCHlch(47.26, 32.96, 276.13°)
OKLaboklab(54.62% -0.0182 -0.0922)
OKLCHoklch(54.62% 0.094 258.8)
XYZxyz(16.0197, 16.2188, 38.8381)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71A7 #A7844E
analogous
#4E9EA7 #4E71A7 #574EA7
triadic
#4E71A7 #A74E71 #71A74E
tetradic
#4E71A7 #A74E9E #A7844E #4EA757
square
#4E71A7 #A74E9E #A7844E #4EA757
split-complementary
#4E71A7 #A7574E #9EA74E
monochromatic
#273954 #3B557D #4E71A7 #7491BE #9EB2D2

Accessibility & contrast

On white

4.95
#4E71A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E71A7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71A7#FFFFFF#000000##FFFFFF
##4E71A71.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C75A9
Deuteranopia (green-blind)
#516CA6
Tritanopia (blue-blind)
#1F7D84
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e71a7;
/* rgb */ color: rgb(78, 113, 167);
/* oklch */ color: oklch(54.6% 0.094 258.8);
Tailwind
colors: {
  custom: {
    50: '#8599c1',
    500: '#4e71a7',
    950: '#000000',
  },
}
SCSS
$custom: #4e71a7;
$custom-light: #8599c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71a7",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 167
  },
  "hsl": {
    "h": 216.404,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5462,
    "c": 0.09403,
    "h": 258.8
  },
  "luminance": 0.1622
}

Semantic roles & 50–950 ramp

primary
#4E71A7
secondary
#BEAD92
accent
#A05BCC
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4E71A7

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

Preview Lab → · Contrast checker → · Palette generator →

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