#4E71BC#4E71BC

#4E71BC is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.8% C 0.124 H 263.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4E71BC
RGBrgb(78, 113, 188)
HSLhsl(221, 45%, 52%)
HSVhsv(221, 59%, 74%)
CMYKcmyk(58.5%, 39.9%, 0%, 26.3%)
CIE-LABlab(48.33, 10.47, -43.28)
CIE-LCHlch(48.33, 44.53, 283.60°)
OKLaboklab(55.81% -0.013 -0.1229)
OKLCHoklch(55.81% 0.124 263.9)
XYZxyz(18.1210, 17.0593, 49.9050)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71BC #BC994E
analogous
#4EA8BC #4E71BC #624EBC
triadic
#4E71BC #BC4E71 #71BC4E
tetradic
#4E71BC #BC4EA8 #BC994E #4EBC62
square
#4E71BC #BC4EA8 #BC994E #4EBC62
split-complementary
#4E71BC #BC624E #A8BC4E
monochromatic
#273C68 #385695 #4E71BC #7A95CD #A7B8DE

Accessibility & contrast

On white

4.76
#4E71BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4E71BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71BC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71BC#FFFFFF#000000##FFFFFF
##4E71BC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#436EBA
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e71bc;
/* rgb */ color: rgb(78, 113, 188);
/* oklch */ color: oklch(55.8% 0.124 263.9);
Tailwind
colors: {
  custom: {
    50: '#8899d0',
    500: '#4e71bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e71bc;
$custom-light: #8899d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71bc",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 220.909,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55806,
    "c": 0.12358,
    "h": 263.9
  },
  "luminance": 0.17061
}

Semantic roles & 50–950 ramp

primary
#4E71BC
secondary
#CBBC9B
accent
#AB53D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4E71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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