#4E71B1#4E71B1

#4E71B1 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.2% C 0.108 H 261.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E71B1
RGBrgb(78, 113, 177)
HSLhsl(219, 39%, 50%)
HSVhsv(219, 56%, 69%)
CMYKcmyk(55.9%, 36.2%, 0%, 30.6%)
CIE-LABlab(47.76, 6.79, -37.82)
CIE-LCHlch(47.76, 38.43, 280.18°)
OKLaboklab(55.17% -0.0156 -0.1069)
OKLCHoklch(55.17% 0.108 261.7)
XYZxyz(16.9801, 16.6029, 43.8963)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71B1 #B18E4E
analogous
#4EA3B1 #4E71B1 #5C4EB1
triadic
#4E71B1 #B14E71 #71B14E
tetradic
#4E71B1 #B14EA3 #B18E4E #4EB15C
square
#4E71B1 #B14EA3 #B18E4E #4EB15C
split-complementary
#4E71B1 #B15C4E #A3B14E
monochromatic
#293B5C #3B5687 #4E71B1 #7893C4 #A3B5D6

Accessibility & contrast

On white

4.86
#4E71B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4E71B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71B1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71B1#FFFFFF#000000##FFFFFF
##4E71B11.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5776B4
Deuteranopia (green-blind)
#4B6DB0
Tritanopia (blue-blind)
#0E7F88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e71b1;
/* rgb */ color: rgb(78, 113, 177);
/* oklch */ color: oklch(55.2% 0.108 261.7);
Tailwind
colors: {
  custom: {
    50: '#8799c8',
    500: '#4e71b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e71b1;
$custom-light: #8799c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71b1",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 177
  },
  "hsl": {
    "h": 218.788,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.55169,
    "c": 0.10807,
    "h": 261.7
  },
  "luminance": 0.16604
}

Semantic roles & 50–950 ramp

primary
#4E71B1
secondary
#C4B497
accent
#A559CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E71B1

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

Preview Lab → · Contrast checker → · Palette generator →

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