#4E71B5#4E71B5

#4E71B5 is a mid, moderate blue. Relative luminance 0.168; OKLCH L 55.4% C 0.114 H 262.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4E71B5
RGBrgb(78, 113, 181)
HSLhsl(220, 41%, 51%)
HSVhsv(220, 57%, 71%)
CMYKcmyk(56.9%, 37.6%, 0%, 29%)
CIE-LABlab(47.96, 8.12, -39.82)
CIE-LCHlch(47.96, 40.64, 281.53°)
OKLaboklab(55.4% -0.0146 -0.1128)
OKLCHoklch(55.4% 0.114 262.6)
XYZxyz(17.3846, 16.7648, 46.0269)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71B5 #B5924E
analogous
#4EA4B5 #4E71B5 #5E4EB5
triadic
#4E71B5 #B54E71 #71B54E
tetradic
#4E71B5 #B54EA4 #B5924E #4EB55E
square
#4E71B5 #B54EA4 #B5924E #4EB55E
split-complementary
#4E71B5 #B55E4E #A4B54E
monochromatic
#283B60 #3A568B #4E71B5 #7994C7 #A4B6D9

Accessibility & contrast

On white

4.82
#4E71B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4E71B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71B5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71B5#FFFFFF#000000##FFFFFF
##4E71B51.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5577B8
Deuteranopia (green-blind)
#486DB4
Tritanopia (blue-blind)
#01808A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e71b5;
/* rgb */ color: rgb(78, 113, 181);
/* oklch */ color: oklch(55.4% 0.114 262.6);
Tailwind
colors: {
  custom: {
    50: '#8799cb',
    500: '#4e71b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e71b5;
$custom-light: #8799cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71b5",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 181
  },
  "hsl": {
    "h": 219.612,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55396,
    "c": 0.11371,
    "h": 262.6
  },
  "luminance": 0.16766
}

Semantic roles & 50–950 ramp

primary
#4E71B5
secondary
#C6B799
accent
#A757D1
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E71B5

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

Preview Lab → · Contrast checker → · Palette generator →

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