#4E71E1#4E71E1

#4E71E1 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.2% C 0.175 H 267.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4E71E1
RGBrgb(78, 113, 225)
HSLhsl(226, 71%, 59%)
HSVhsv(226, 65%, 88%)
CMYKcmyk(65.3%, 49.8%, 0%, 11.8%)
CIE-LABlab(50.53, 23.15, -60.87)
CIE-LCHlch(50.53, 65.13, 290.82°)
OKLaboklab(58.19% -0.0072 -0.1746)
OKLCHoklch(58.19% 0.175 267.6)
XYZxyz(22.6329, 18.8641, 73.6679)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71E1 #E1BE4E
analogous
#4EBBE1 #4E71E1 #754EE1
triadic
#4E71E1 #E14E71 #71E14E
tetradic
#4E71E1 #E14EBB #E1BE4E #4EE175
square
#4E71E1 #E14EBB #E1BE4E #4EE175
split-complementary
#4E71E1 #E1754E #BBE14E
monochromatic
#1A399A #234CCF #4E71E1 #829BEA #B7C5F3

Accessibility & contrast

On white

4.40
#4E71E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4E71E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71E1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71E1#FFFFFF#000000##000000
##4E71E11.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#317FE5
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e71e1;
/* rgb */ color: rgb(78, 113, 225);
/* oklch */ color: oklch(58.2% 0.175 267.6);
Tailwind
colors: {
  custom: {
    50: '#8e99eb',
    500: '#4e71e1',
    950: '#000000',
  },
}
SCSS
$custom: #4e71e1;
$custom-light: #8e99eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71e1",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 225.714,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58193,
    "c": 0.17473,
    "h": 267.6
  },
  "luminance": 0.18866
}

Semantic roles & 50–950 ramp

primary
#4E71E1
secondary
#E2D4A9
accent
#C33AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4E71E1

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

Preview Lab → · Contrast checker → · Palette generator →

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