#4E71B4#4E71B4

#4E71B4 is a mid, moderate blue. Relative luminance 0.167; OKLCH L 55.3% C 0.112 H 262.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4E71B4
RGBrgb(78, 113, 180)
HSLhsl(219, 40%, 51%)
HSVhsv(219, 57%, 71%)
CMYKcmyk(56.7%, 37.2%, 0%, 29.4%)
CIE-LABlab(47.91, 7.79, -39.32)
CIE-LCHlch(47.91, 40.09, 281.20°)
OKLaboklab(55.34% -0.0148 -0.1113)
OKLCHoklch(55.34% 0.112 262.4)
XYZxyz(17.2824, 16.7239, 45.4885)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71B4 #B4914E
analogous
#4EA4B4 #4E71B4 #5E4EB4
triadic
#4E71B4 #B44E71 #71B44E
tetradic
#4E71B4 #B44EA4 #B4914E #4EB45E
square
#4E71B4 #B44EA4 #B4914E #4EB45E
split-complementary
#4E71B4 #B45E4E #A4B44E
monochromatic
#283B5F #3B568A #4E71B4 #7993C6 #A4B6D8

Accessibility & contrast

On white

4.83
#4E71B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4E71B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71B4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71B4#FFFFFF#000000##FFFFFF
##4E71B41.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5577B7
Deuteranopia (green-blind)
#496DB3
Tritanopia (blue-blind)
#05808A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e71b4;
/* rgb */ color: rgb(78, 113, 180);
/* oklch */ color: oklch(55.3% 0.112 262.4);
Tailwind
colors: {
  custom: {
    50: '#8799cb',
    500: '#4e71b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e71b4;
$custom-light: #8799cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71b4",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 180
  },
  "hsl": {
    "h": 219.412,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55339,
    "c": 0.11231,
    "h": 262.4
  },
  "luminance": 0.16725
}

Semantic roles & 50–950 ramp

primary
#4E71B4
secondary
#C6B698
accent
#A757D0
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E71B4

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

Preview Lab → · Contrast checker → · Palette generator →

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