#4E71BF#4E71BF

#4E71BF is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.0% C 0.128 H 264.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4E71BF
RGBrgb(78, 113, 191)
HSLhsl(221, 47%, 53%)
HSVhsv(221, 59%, 75%)
CMYKcmyk(59.2%, 40.8%, 0%, 25.1%)
CIE-LABlab(48.50, 11.48, -44.75)
CIE-LCHlch(48.50, 46.20, 284.39°)
OKLaboklab(55.99% -0.0124 -0.1272)
OKLCHoklch(55.99% 0.128 264.4)
XYZxyz(18.4478, 17.1900, 51.6260)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71BF #BF9C4E
analogous
#4EA9BF #4E71BF #634EBF
triadic
#4E71BF #BF4E71 #71BF4E
tetradic
#4E71BF #BF4EA9 #BF9C4E #4EBF63
square
#4E71BF #BF4EA9 #BF9C4E #4EBF63
split-complementary
#4E71BF #BF634E #A9BF4E
monochromatic
#273C6C #375599 #4E71BF #7B95CF #A8B9E0

Accessibility & contrast

On white

4.73
#4E71BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4E71BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71BF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71BF#FFFFFF#000000##FFFFFF
##4E71BF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#406EBD
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e71bf;
/* rgb */ color: rgb(78, 113, 191);
/* oklch */ color: oklch(56.0% 0.128 264.4);
Tailwind
colors: {
  custom: {
    50: '#8999d3',
    500: '#4e71bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e71bf;
$custom-light: #8999d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71bf",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 221.416,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55986,
    "c": 0.1278,
    "h": 264.4
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

primary
#4E71BF
secondary
#CDBE9C
accent
#AD51D7
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4E71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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