#4E71B0#4E71B0

#4E71B0 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.1% C 0.107 H 261.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4E71B0
RGBrgb(78, 113, 176)
HSLhsl(219, 39%, 50%)
HSVhsv(219, 56%, 69%)
CMYKcmyk(55.7%, 35.8%, 0%, 31%)
CIE-LABlab(47.70, 6.46, -37.32)
CIE-LCHlch(47.70, 37.88, 279.82°)
OKLaboklab(55.11% -0.0158 -0.1055)
OKLCHoklch(55.11% 0.107 261.5)
XYZxyz(16.8808, 16.5632, 43.3733)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71B0 #B08D4E
analogous
#4EA2B0 #4E71B0 #5C4EB0
triadic
#4E71B0 #B04E71 #71B04E
tetradic
#4E71B0 #B04EA2 #B08D4E #4EB05C
square
#4E71B0 #B04EA2 #B08D4E #4EB05C
split-complementary
#4E71B0 #B05C4E #A2B04E
monochromatic
#283B5B #3B5686 #4E71B0 #7893C3 #A2B5D6

Accessibility & contrast

On white

4.87
#4E71B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4E71B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E71B0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71B0#FFFFFF#000000##FFFFFF
##4E71B01.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5876B3
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#107F88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e71b0;
/* rgb */ color: rgb(78, 113, 176);
/* oklch */ color: oklch(55.1% 0.107 261.5);
Tailwind
colors: {
  custom: {
    50: '#8799c8',
    500: '#4e71b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e71b0;
$custom-light: #8799c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71b0",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 176
  },
  "hsl": {
    "h": 218.571,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55112,
    "c": 0.10666,
    "h": 261.5
  },
  "luminance": 0.16565
}

Semantic roles & 50–950 ramp

primary
#4E71B0
secondary
#C3B397
accent
#A559CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4E71B0

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

Preview Lab → · Contrast checker → · Palette generator →

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