#4E71AB#4E71AB

#4E71AB is a mid, moderate blue. Relative luminance 0.164; OKLCH L 54.8% C 0.100 H 260.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4E71AB
RGBrgb(78, 113, 171)
HSLhsl(217, 37%, 49%)
HSVhsv(217, 54%, 67%)
CMYKcmyk(54.4%, 33.9%, 0%, 32.9%)
CIE-LABlab(47.45, 4.82, -34.80)
CIE-LCHlch(47.45, 35.13, 277.88°)
OKLaboklab(54.84% -0.0171 -0.0981)
OKLCHoklch(54.84% 0.1 260.1)
XYZxyz(16.3952, 16.3690, 40.8157)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71AB #AB884E
analogous
#4EA0AB #4E71AB #5A4EAB
triadic
#4E71AB #AB4E71 #71AB4E
tetradic
#4E71AB #AB4EA0 #AB884E #4EAB5A
square
#4E71AB #AB4EA0 #AB884E #4EAB5A
split-complementary
#4E71AB #AB5A4E #A0AB4E
monochromatic
#283957 #3B5581 #4E71AB #7692C0 #A0B3D4

Accessibility & contrast

On white

4.91
#4E71AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4E71AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71AB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71AB#FFFFFF#000000##FFFFFF
##4E71AB1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AD
Deuteranopia (green-blind)
#4F6DAA
Tritanopia (blue-blind)
#1A7E86
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e71ab;
/* rgb */ color: rgb(78, 113, 171);
/* oklch */ color: oklch(54.8% 0.100 260.1);
Tailwind
colors: {
  custom: {
    50: '#8699c4',
    500: '#4e71ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e71ab;
$custom-light: #8699c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71ab",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 217.419,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54836,
    "c": 0.09963,
    "h": 260.1
  },
  "luminance": 0.1637
}

Semantic roles & 50–950 ramp

primary
#4E71AB
secondary
#C1B094
accent
#A25ACD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #4E71AB

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

Preview Lab → · Contrast checker → · Palette generator →

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