#4E71D8#4E71D8

#4E71D8 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.6% C 0.163 H 267.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4E71D8
RGBrgb(78, 113, 216)
HSLhsl(225, 64%, 58%)
HSVhsv(225, 64%, 85%)
CMYKcmyk(63.9%, 47.7%, 0%, 15.3%)
CIE-LABlab(49.96, 20.04, -56.70)
CIE-LCHlch(49.96, 60.14, 289.47°)
OKLaboklab(57.58% -0.0082 -0.1623)
OKLCHoklch(57.58% 0.163 267.1)
XYZxyz(21.4374, 18.3859, 67.3715)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71D8 #D8B54E
analogous
#4EB6D8 #4E71D8 #704ED8
triadic
#4E71D8 #D84E71 #71D84E
tetradic
#4E71D8 #D84EB6 #D8B54E #4ED870
square
#4E71D8 #D84EB6 #D8B54E #4ED870
split-complementary
#4E71D8 #D8704E #B6D84E
monochromatic
#1F3B8D #2A50BF #4E71D8 #8099E3 #B2C1EE

Accessibility & contrast

On white

4.49
#4E71D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4E71D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71D8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71D8#FFFFFF#000000##000000
##4E71D81.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7DDC
Deuteranopia (green-blind)
#1F71D6
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e71d8;
/* rgb */ color: rgb(78, 113, 216);
/* oklch */ color: oklch(57.6% 0.163 267.1);
Tailwind
colors: {
  custom: {
    50: '#8d99e5',
    500: '#4e71d8',
    950: '#000000',
  },
}
SCSS
$custom: #4e71d8;
$custom-light: #8d99e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71d8",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 224.783,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5758,
    "c": 0.1625,
    "h": 267.1
  },
  "luminance": 0.18388
}

Semantic roles & 50–950 ramp

primary
#4E71D8
secondary
#DDCFA5
accent
#BD41E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4E71D8

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

Preview Lab → · Contrast checker → · Palette generator →

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