#4E71BB#4E71BB

#4E71BB is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.7% C 0.122 H 263.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4E71BB
RGBrgb(78, 113, 187)
HSLhsl(221, 44%, 52%)
HSVhsv(221, 58%, 73%)
CMYKcmyk(58.3%, 39.6%, 0%, 26.7%)
CIE-LABlab(48.28, 10.13, -42.79)
CIE-LCHlch(48.28, 43.97, 283.32°)
OKLaboklab(55.75% -0.0132 -0.1214)
OKLCHoklch(55.75% 0.122 263.8)
XYZxyz(18.0136, 17.0163, 49.3393)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71BB #BB984E
analogous
#4EA8BB #4E71BB #624EBB
triadic
#4E71BB #BB4E71 #71BB4E
tetradic
#4E71BB #BB4EA8 #BB984E #4EBB62
square
#4E71BB #BB4EA8 #BB984E #4EBB62
split-complementary
#4E71BB #BB624E #A8BB4E
monochromatic
#283C67 #395693 #4E71BB #7A94CC #A6B8DD

Accessibility & contrast

On white

4.77
#4E71BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4E71BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71BB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71BB#FFFFFF#000000##FFFFFF
##4E71BB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#436EB9
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e71bb;
/* rgb */ color: rgb(78, 113, 187);
/* oklch */ color: oklch(55.7% 0.122 263.8);
Tailwind
colors: {
  custom: {
    50: '#8899d0',
    500: '#4e71bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e71bb;
$custom-light: #8899d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71bb",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 220.734,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55747,
    "c": 0.12217,
    "h": 263.8
  },
  "luminance": 0.17018
}

Semantic roles & 50–950 ramp

primary
#4E71BB
secondary
#CABB9B
accent
#AB54D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4E71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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