#4E71EC#4E71EC

#4E71EC is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.0% C 0.189 H 268.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4E71EC
RGBrgb(78, 113, 236)
HSLhsl(227, 81%, 62%)
HSVhsv(227, 67%, 93%)
CMYKcmyk(66.9%, 52.1%, 0%, 7.5%)
CIE-LABlab(51.25, 26.96, -65.89)
CIE-LCHlch(51.25, 71.19, 292.26°)
OKLaboklab(58.97% -0.0061 -0.1893)
OKLCHoklch(58.97% 0.189 268.1)
XYZxyz(24.1821, 19.4838, 81.8270)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71EC #ECC94E
analogous
#4EC0EC #4E71EC #7A4EEC
triadic
#4E71EC #EC4E71 #71EC4E
tetradic
#4E71EC #EC4EC0 #ECC94E #4EEC7A
square
#4E71EC #EC4EC0 #ECC94E #4EEC7A
split-complementary
#4E71EC #EC7A4E #C0EC4E
monochromatic
#1335AD #1946E4 #4E71EC #859DF2 #BDCAF8

Accessibility & contrast

On white

4.29
#4E71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4E71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71EC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71EC#FFFFFF#000000##000000
##4E71EC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F82F0
Deuteranopia (green-blind)
#0073EA
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e71ec;
/* rgb */ color: rgb(78, 113, 236);
/* oklch */ color: oklch(59.0% 0.189 268.1);
Tailwind
colors: {
  custom: {
    50: '#9099f3',
    500: '#4e71ec',
    950: '#000000',
  },
}
SCSS
$custom: #4e71ec;
$custom-light: #9099f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71ec",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 226.709,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58969,
    "c": 0.18943,
    "h": 268.1
  },
  "luminance": 0.19486
}

Semantic roles & 50–950 ramp

primary
#4E71EC
secondary
#E8DBAE
accent
#AE09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4E71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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