#4E71A5#4E71A5

#4E71A5 is a mid, moderate blue. Relative luminance 0.161; OKLCH L 54.5% C 0.091 H 258.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4E71A5
RGBrgb(78, 113, 165)
HSLhsl(216, 36%, 48%)
HSVhsv(216, 53%, 65%)
CMYKcmyk(52.7%, 31.5%, 0%, 35.3%)
CIE-LABlab(47.16, 2.87, -31.75)
CIE-LCHlch(47.16, 31.88, 275.17°)
OKLaboklab(54.51% -0.0188 -0.0893)
OKLCHoklch(54.51% 0.091 258.1)
XYZxyz(15.8362, 16.1454, 37.8719)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71A5 #A5824E
analogous
#4E9CA5 #4E71A5 #574EA5
triadic
#4E71A5 #A54E71 #71A54E
tetradic
#4E71A5 #A54E9C #A5824E #4EA557
square
#4E71A5 #A54E9C #A5824E #4EA557
split-complementary
#4E71A5 #A5574E #9CA54E
monochromatic
#273852 #3A557B #4E71A5 #7391BD #9DB2D1

Accessibility & contrast

On white

4.97
#4E71A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4E71A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71A5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71A5#FFFFFF#000000##FFFFFF
##4E71A51.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A7
Deuteranopia (green-blind)
#526CA4
Tritanopia (blue-blind)
#227C84
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e71a5;
/* rgb */ color: rgb(78, 113, 165);
/* oklch */ color: oklch(54.5% 0.091 258.1);
Tailwind
colors: {
  custom: {
    50: '#8599c0',
    500: '#4e71a5',
    950: '#000000',
  },
}
SCSS
$custom: #4e71a5;
$custom-light: #8599c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71a5",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 165
  },
  "hsl": {
    "h": 215.862,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54514,
    "c": 0.09124,
    "h": 258.1
  },
  "luminance": 0.16147
}

Semantic roles & 50–950 ramp

primary
#4E71A5
secondary
#BDAC91
accent
#9F5CCC
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4E71A5

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

Preview Lab → · Contrast checker → · Palette generator →

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