#4E71BA#4E71BA

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

Color values

HEX#4E71BA
RGBrgb(78, 113, 186)
HSLhsl(221, 44%, 52%)
HSVhsv(221, 58%, 73%)
CMYKcmyk(58.1%, 39.2%, 0%, 27.1%)
CIE-LABlab(48.23, 9.80, -42.30)
CIE-LCHlch(48.23, 43.42, 283.04°)
OKLaboklab(55.69% -0.0135 -0.12)
OKLCHoklch(55.69% 0.121 263.6)
XYZxyz(17.9069, 16.9737, 48.7775)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71BA #BA974E
analogous
#4EA7BA #4E71BA #614EBA
triadic
#4E71BA #BA4E71 #71BA4E
tetradic
#4E71BA #BA4EA7 #BA974E #4EBA61
square
#4E71BA #BA4EA7 #BA974E #4EBA61
split-complementary
#4E71BA #BA614E #A7BA4E
monochromatic
#283C66 #395692 #4E71BA #7A94CB #A6B8DC

Accessibility & contrast

On white

4.78
#4E71BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4E71BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71BA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71BA#FFFFFF#000000##FFFFFF
##4E71BA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5278BD
Deuteranopia (green-blind)
#446EB8
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e71ba;
/* rgb */ color: rgb(78, 113, 186);
/* oklch */ color: oklch(55.7% 0.121 263.6);
Tailwind
colors: {
  custom: {
    50: '#8899cf',
    500: '#4e71ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e71ba;
$custom-light: #8899cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71ba",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 220.556,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55688,
    "c": 0.12076,
    "h": 263.6
  },
  "luminance": 0.16975
}

Semantic roles & 50–950 ramp

primary
#4E71BA
secondary
#CABA9A
accent
#AA54D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4E71BA

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

Preview Lab → · Contrast checker → · Palette generator →

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