#4E71E4#4E71E4

#4E71E4 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.4% C 0.179 H 267.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4E71E4
RGBrgb(78, 113, 228)
HSLhsl(226, 74%, 60%)
HSVhsv(226, 66%, 89%)
CMYKcmyk(65.8%, 50.4%, 0%, 10.6%)
CIE-LABlab(50.72, 24.19, -62.25)
CIE-LCHlch(50.72, 66.79, 291.24°)
OKLaboklab(58.4% -0.0069 -0.1786)
OKLCHoklch(58.4% 0.179 267.8)
XYZxyz(23.0458, 19.0292, 75.8422)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71E4 #E4C14E
analogous
#4EBCE4 #4E71E4 #764EE4
triadic
#4E71E4 #E44E71 #71E44E
tetradic
#4E71E4 #E44EBC #E4C14E #4EE476
square
#4E71E4 #E44EBC #E4C14E #4EE476
split-complementary
#4E71E4 #E4764E #BCE44E
monochromatic
#18389F #204AD4 #4E71E4 #839CEC #B8C6F4

Accessibility & contrast

On white

4.37
#4E71E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4E71E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71E4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71E4#FFFFFF#000000##000000
##4E71E41.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D80E8
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e71e4;
/* rgb */ color: rgb(78, 113, 228);
/* oklch */ color: oklch(58.4% 0.179 267.8);
Tailwind
colors: {
  custom: {
    50: '#8f99ed',
    500: '#4e71e4',
    950: '#000000',
  },
}
SCSS
$custom: #4e71e4;
$custom-light: #8f99ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71e4",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 226,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.58402,
    "c": 0.17876,
    "h": 267.8
  },
  "luminance": 0.19031
}

Semantic roles & 50–950 ramp

primary
#4E71E4
secondary
#E4D6AA
accent
#C538F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4E71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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