#4E71A8#4E71A8

#4E71A8 is a mid, moderate blue. Relative luminance 0.163; OKLCH L 54.7% C 0.095 H 259.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4E71A8
RGBrgb(78, 113, 168)
HSLhsl(217, 37%, 48%)
HSVhsv(217, 54%, 66%)
CMYKcmyk(53.6%, 32.7%, 0%, 34.1%)
CIE-LABlab(47.31, 3.84, -33.28)
CIE-LCHlch(47.31, 33.50, 276.58°)
OKLaboklab(54.67% -0.018 -0.0937)
OKLCHoklch(54.67% 0.095 259.1)
XYZxyz(16.1125, 16.2559, 39.3268)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71A8 #A8854E
analogous
#4E9EA8 #4E71A8 #584EA8
triadic
#4E71A8 #A84E71 #71A84E
tetradic
#4E71A8 #A84E9E #A8854E #4EA858
square
#4E71A8 #A84E9E #A8854E #4EA858
split-complementary
#4E71A8 #A8584E #9EA84E
monochromatic
#273954 #3B557E #4E71A8 #7591BF #9EB2D2

Accessibility & contrast

On white

4.94
#4E71A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#4E71A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71A8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71A8#FFFFFF#000000##FFFFFF
##4E71A81.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B75AA
Deuteranopia (green-blind)
#506CA7
Tritanopia (blue-blind)
#1E7D85
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e71a8;
/* rgb */ color: rgb(78, 113, 168);
/* oklch */ color: oklch(54.7% 0.095 259.1);
Tailwind
colors: {
  custom: {
    50: '#8599c2',
    500: '#4e71a8',
    950: '#000000',
  },
}
SCSS
$custom: #4e71a8;
$custom-light: #8599c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71a8",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 168
  },
  "hsl": {
    "h": 216.667,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54674,
    "c": 0.09543,
    "h": 259.1
  },
  "luminance": 0.16257
}

Semantic roles & 50–950 ramp

primary
#4E71A8
secondary
#BFAE93
accent
#A05BCD
background
#F8F9FB
surface
#F0F2F7
border
#CBCCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4E71A8

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

Preview Lab → · Contrast checker → · Palette generator →

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