#4E71BD#4E71BD

#4E71BD is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.9% C 0.125 H 264.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E71BD
RGBrgb(78, 113, 189)
HSLhsl(221, 46%, 52%)
HSVhsv(221, 59%, 74%)
CMYKcmyk(58.7%, 40.2%, 0%, 25.9%)
CIE-LABlab(48.39, 10.81, -43.77)
CIE-LCHlch(48.39, 45.09, 283.87°)
OKLaboklab(55.87% -0.0128 -0.1243)
OKLCHoklch(55.87% 0.125 264.1)
XYZxyz(18.2292, 17.1026, 50.4747)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71BD #BD9A4E
analogous
#4EA9BD #4E71BD #634EBD
triadic
#4E71BD #BD4E71 #71BD4E
tetradic
#4E71BD #BD4EA9 #BD9A4E #4EBD63
square
#4E71BD #BD4EA9 #BD9A4E #4EBD63
split-complementary
#4E71BD #BD634E #A9BD4E
monochromatic
#273C69 #385696 #4E71BD #7B95CE #A7B9DE

Accessibility & contrast

On white

4.75
#4E71BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4E71BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71BD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71BD#FFFFFF#000000##FFFFFF
##4E71BD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5078C0
Deuteranopia (green-blind)
#426EBB
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e71bd;
/* rgb */ color: rgb(78, 113, 189);
/* oklch */ color: oklch(55.9% 0.125 264.1);
Tailwind
colors: {
  custom: {
    50: '#8899d1',
    500: '#4e71bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e71bd;
$custom-light: #8899d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71bd",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 221.081,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55866,
    "c": 0.12499,
    "h": 264.1
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#4E71BD
secondary
#CCBC9B
accent
#AC52D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4E71BD

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

Preview Lab → · Contrast checker → · Palette generator →

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