#4E71AC#4E71AC

#4E71AC is a mid, moderate blue. Relative luminance 0.164; OKLCH L 54.9% C 0.101 H 260.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4E71AC
RGBrgb(78, 113, 172)
HSLhsl(218, 38%, 49%)
HSVhsv(218, 55%, 67%)
CMYKcmyk(54.7%, 34.3%, 0%, 32.5%)
CIE-LABlab(47.50, 5.15, -35.31)
CIE-LCHlch(47.50, 35.68, 278.29°)
OKLaboklab(54.89% -0.0169 -0.0996)
OKLCHoklch(54.89% 0.101 260.4)
XYZxyz(16.4909, 16.4072, 41.3196)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71AC #AC894E
analogous
#4EA0AC #4E71AC #5A4EAC
triadic
#4E71AC #AC4E71 #71AC4E
tetradic
#4E71AC #AC4EA0 #AC894E #4EAC5A
square
#4E71AC #AC4EA0 #AC894E #4EAC5A
split-complementary
#4E71AC #AC5A4E #A0AC4E
monochromatic
#283A58 #3B5582 #4E71AC #7692C1 #A0B4D4

Accessibility & contrast

On white

4.90
#4E71AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4E71AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71AC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71AC#FFFFFF#000000##FFFFFF
##4E71AC1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5975AE
Deuteranopia (green-blind)
#4E6DAB
Tritanopia (blue-blind)
#187E86
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e71ac;
/* rgb */ color: rgb(78, 113, 172);
/* oklch */ color: oklch(54.9% 0.101 260.4);
Tailwind
colors: {
  custom: {
    50: '#8699c5',
    500: '#4e71ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e71ac;
$custom-light: #8699c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71ac",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 217.66,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54891,
    "c": 0.10103,
    "h": 260.4
  },
  "luminance": 0.16409
}

Semantic roles & 50–950 ramp

primary
#4E71AC
secondary
#C1B195
accent
#A35ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E71AC

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

Preview Lab → · Contrast checker → · Palette generator →

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