#4E71E0#4E71E0

#4E71E0 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.173 H 267.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4E71E0
RGBrgb(78, 113, 224)
HSLhsl(226, 70%, 59%)
HSVhsv(226, 65%, 88%)
CMYKcmyk(65.2%, 49.6%, 0%, 12.2%)
CIE-LABlab(50.46, 22.81, -60.41)
CIE-LCHlch(50.46, 64.58, 290.68°)
OKLaboklab(58.12% -0.0073 -0.1732)
OKLCHoklch(58.12% 0.173 267.6)
XYZxyz(22.4969, 18.8097, 72.9516)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71E0 #E0BD4E
analogous
#4EBAE0 #4E71E0 #744EE0
triadic
#4E71E0 #E04E71 #71E04E
tetradic
#4E71E0 #E04EBA #E0BD4E #4EE074
square
#4E71E0 #E04EBA #E0BD4E #4EE074
split-complementary
#4E71E0 #E0744E #BAE04E
monochromatic
#1B3999 #244CCD #4E71E0 #829BE9 #B6C5F2

Accessibility & contrast

On white

4.41
#4E71E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4E71E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71E0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71E0#FFFFFF#000000##000000
##4E71E01.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#337FE4
Deuteranopia (green-blind)
#0172DE
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e71e0;
/* rgb */ color: rgb(78, 113, 224);
/* oklch */ color: oklch(58.1% 0.173 267.6);
Tailwind
colors: {
  custom: {
    50: '#8e99ea',
    500: '#4e71e0',
    950: '#000000',
  },
}
SCSS
$custom: #4e71e0;
$custom-light: #8e99ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71e0",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 224
  },
  "hsl": {
    "h": 225.616,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58124,
    "c": 0.17337,
    "h": 267.6
  },
  "luminance": 0.18812
}

Semantic roles & 50–950 ramp

primary
#4E71E0
secondary
#E1D4A8
accent
#C23BED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4E71E0

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

Preview Lab → · Contrast checker → · Palette generator →

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