#4E71B6#4E71B6

#4E71B6 is a mid, moderate blue. Relative luminance 0.168; OKLCH L 55.5% C 0.115 H 262.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4E71B6
RGBrgb(78, 113, 182)
HSLhsl(220, 42%, 51%)
HSVhsv(220, 57%, 71%)
CMYKcmyk(57.1%, 37.9%, 0%, 28.6%)
CIE-LABlab(48.01, 8.46, -40.32)
CIE-LCHlch(48.01, 41.19, 281.85°)
OKLaboklab(55.45% -0.0144 -0.1142)
OKLCHoklch(55.45% 0.115 262.8)
XYZxyz(17.4876, 16.8060, 46.5692)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71B6 #B6934E
analogous
#4EA5B6 #4E71B6 #5F4EB6
triadic
#4E71B6 #B64E71 #71B64E
tetradic
#4E71B6 #B64EA5 #B6934E #4EB65F
square
#4E71B6 #B64EA5 #B6934E #4EB65F
split-complementary
#4E71B6 #B65F4E #A5B64E
monochromatic
#283B61 #3A568D #4E71B6 #7994C8 #A5B7DA

Accessibility & contrast

On white

4.81
#4E71B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#4E71B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71B6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71B6#FFFFFF#000000##FFFFFF
##4E71B61.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5477B9
Deuteranopia (green-blind)
#476EB5
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e71b6;
/* rgb */ color: rgb(78, 113, 182);
/* oklch */ color: oklch(55.5% 0.115 262.8);
Tailwind
colors: {
  custom: {
    50: '#8799cc',
    500: '#4e71b6',
    950: '#000000',
  },
}
SCSS
$custom: #4e71b6;
$custom-light: #8799cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71b6",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 182
  },
  "hsl": {
    "h": 219.808,
    "s": 41.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55454,
    "c": 0.11512,
    "h": 262.8
  },
  "luminance": 0.16807
}

Semantic roles & 50–950 ramp

primary
#4E71B6
secondary
#C7B799
accent
#A856D1
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E71B6

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

Preview Lab → · Contrast checker → · Palette generator →

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