#4E71ED#4E71ED

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

Color values

HEX#4E71ED
RGBrgb(78, 113, 237)
HSLhsl(227, 82%, 62%)
HSVhsv(227, 67%, 93%)
CMYKcmyk(67.1%, 52.3%, 0%, 7.1%)
CIE-LABlab(51.32, 27.31, -66.34)
CIE-LCHlch(51.32, 71.74, 292.37°)
OKLaboklab(59.04% -0.0061 -0.1907)
OKLCHoklch(59.04% 0.191 268.2)
XYZxyz(24.3278, 19.5420, 82.5943)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71ED #EDCA4E
analogous
#4EC1ED #4E71ED #7B4EED
triadic
#4E71ED #ED4E71 #71ED4E
tetradic
#4E71ED #ED4EC1 #EDCA4E #4EED7B
square
#4E71ED #ED4EC1 #EDCA4E #4EED7B
split-complementary
#4E71ED #ED7B4E #C1ED4E
monochromatic
#1234AF #1745E6 #4E71ED #869EF3 #BDCAF8

Accessibility & contrast

On white

4.28
#4E71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4E71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71ED
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71ED#FFFFFF#000000##000000
##4E71ED1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e71ed;
/* rgb */ color: rgb(78, 113, 237);
/* oklch */ color: oklch(59.0% 0.191 268.2);
Tailwind
colors: {
  custom: {
    50: '#9099f4',
    500: '#4e71ed',
    950: '#000000',
  },
}
SCSS
$custom: #4e71ed;
$custom-light: #9099f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71ed",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 226.792,
    "s": 81.538,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59041,
    "c": 0.19076,
    "h": 268.2
  },
  "luminance": 0.19544
}

Semantic roles & 50–950 ramp

primary
#4E71ED
secondary
#E9DCAE
accent
#AF08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4E71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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