#4E71E9#4E71E9

#4E71E9 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.8% C 0.185 H 268.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E71E9
RGBrgb(78, 113, 233)
HSLhsl(226, 78%, 61%)
HSVhsv(226, 67%, 91%)
CMYKcmyk(66.5%, 51.5%, 0%, 8.6%)
CIE-LABlab(51.05, 25.92, -64.53)
CIE-LCHlch(51.05, 69.54, 291.89°)
OKLaboklab(58.76% -0.0064 -0.1853)
OKLCHoklch(58.76% 0.185 268)
XYZxyz(23.7499, 19.3109, 79.5507)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71E9 #E9C64E
analogous
#4EBEE9 #4E71E9 #784EE9
triadic
#4E71E9 #E94E71 #71E94E
tetradic
#4E71E9 #E94EBE #E9C64E #4EE978
square
#4E71E9 #E94EBE #E9C64E #4EE978
split-complementary
#4E71E9 #E9784E #BEE94E
monochromatic
#1536A8 #1C48DE #4E71E9 #849DF0 #BBC8F7

Accessibility & contrast

On white

4.32
#4E71E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4E71E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71E9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71E9#FFFFFF#000000##000000
##4E71E91.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2581ED
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e71e9;
/* rgb */ color: rgb(78, 113, 233);
/* oklch */ color: oklch(58.8% 0.185 268.0);
Tailwind
colors: {
  custom: {
    50: '#9099f1',
    500: '#4e71e9',
    950: '#000000',
  },
}
SCSS
$custom: #4e71e9;
$custom-light: #9099f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71e9",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 226.452,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58755,
    "c": 0.18544,
    "h": 268
  },
  "luminance": 0.19313
}

Semantic roles & 50–950 ramp

primary
#4E71E9
secondary
#E7D9AC
accent
#AB0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4E71E9

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

Preview Lab → · Contrast checker → · Palette generator →

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