#4E71B7#4E71B7

#4E71B7 is a mid, moderate blue. Relative luminance 0.168; OKLCH L 55.5% C 0.117 H 263.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4E71B7
RGBrgb(78, 113, 183)
HSLhsl(220, 42%, 51%)
HSVhsv(220, 57%, 72%)
CMYKcmyk(57.4%, 38.3%, 0%, 28.2%)
CIE-LABlab(48.07, 8.79, -40.81)
CIE-LCHlch(48.07, 41.75, 282.15°)
OKLaboklab(55.51% -0.0141 -0.1157)
OKLCHoklch(55.51% 0.117 263)
XYZxyz(17.5913, 16.8474, 47.1154)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71B7 #B7944E
analogous
#4EA5B7 #4E71B7 #5F4EB7
triadic
#4E71B7 #B74E71 #71B74E
tetradic
#4E71B7 #B74EA5 #B7944E #4EB75F
square
#4E71B7 #B74EA5 #B7944E #4EB75F
split-complementary
#4E71B7 #B75F4E #A5B74E
monochromatic
#283C63 #3A568E #4E71B7 #7A94C9 #A5B7DA

Accessibility & contrast

On white

4.81
#4E71B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#4E71B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71B7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71B7#FFFFFF#000000##FFFFFF
##4E71B71.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5477BA
Deuteranopia (green-blind)
#476EB6
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e71b7;
/* rgb */ color: rgb(78, 113, 183);
/* oklch */ color: oklch(55.5% 0.117 263.0);
Tailwind
colors: {
  custom: {
    50: '#8799cd',
    500: '#4e71b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e71b7;
$custom-light: #8799cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71b7",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 183
  },
  "hsl": {
    "h": 220,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.11653,
    "h": 263
  },
  "luminance": 0.16849
}

Semantic roles & 50–950 ramp

primary
#4E71B7
secondary
#C8B899
accent
#A956D2
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E71B7

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

Preview Lab → · Contrast checker → · Palette generator →

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