#4E71B8#4E71B8

#4E71B8 is a mid, moderate blue. Relative luminance 0.169; OKLCH L 55.6% C 0.118 H 263.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4E71B8
RGBrgb(78, 113, 184)
HSLhsl(220, 43%, 51%)
HSVhsv(220, 58%, 72%)
CMYKcmyk(57.6%, 38.6%, 0%, 27.8%)
CIE-LABlab(48.12, 9.13, -41.31)
CIE-LCHlch(48.12, 42.30, 282.46°)
OKLaboklab(55.57% -0.0139 -0.1171)
OKLCHoklch(55.57% 0.118 263.2)
XYZxyz(17.6958, 16.8892, 47.6655)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71B8 #B8954E
analogous
#4EA6B8 #4E71B8 #604EB8
triadic
#4E71B8 #B84E71 #71B84E
tetradic
#4E71B8 #B84EA6 #B8954E #4EB860
square
#4E71B8 #B84EA6 #B8954E #4EB860
split-complementary
#4E71B8 #B8604E #A6B84E
monochromatic
#283C64 #39568F #4E71B8 #7A94CA #A5B7DB

Accessibility & contrast

On white

4.80
#4E71B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4E71B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71B8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71B8#FFFFFF#000000##FFFFFF
##4E71B81.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5377BB
Deuteranopia (green-blind)
#466EB6
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e71b8;
/* rgb */ color: rgb(78, 113, 184);
/* oklch */ color: oklch(55.6% 0.118 263.2);
Tailwind
colors: {
  custom: {
    50: '#8899cd',
    500: '#4e71b8',
    950: '#000000',
  },
}
SCSS
$custom: #4e71b8;
$custom-light: #8899cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71b8",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 184
  },
  "hsl": {
    "h": 220.189,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5557,
    "c": 0.11794,
    "h": 263.2
  },
  "luminance": 0.16891
}

Semantic roles & 50–950 ramp

primary
#4E71B8
secondary
#C8B99A
accent
#A955D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E71B8

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

Preview Lab → · Contrast checker → · Palette generator →

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