#4E71E2#4E71E2

#4E71E2 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.176 H 267.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4E71E2
RGBrgb(78, 113, 226)
HSLhsl(226, 72%, 60%)
HSVhsv(226, 65%, 89%)
CMYKcmyk(65.5%, 50%, 0%, 11.4%)
CIE-LABlab(50.59, 23.50, -61.33)
CIE-LCHlch(50.59, 65.68, 290.96°)
OKLaboklab(58.26% -0.0071 -0.1759)
OKLCHoklch(58.26% 0.176 267.7)
XYZxyz(22.7698, 18.9188, 74.3885)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71E2 #E2BF4E
analogous
#4EBBE2 #4E71E2 #754EE2
triadic
#4E71E2 #E24E71 #71E24E
tetradic
#4E71E2 #E24EBB #E2BF4E #4EE275
square
#4E71E2 #E24EBB #E2BF4E #4EE275
split-complementary
#4E71E2 #E2754E #BBE24E
monochromatic
#1A389C #224BD1 #4E71E2 #839BEB #B7C5F3

Accessibility & contrast

On white

4.39
#4E71E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4E71E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71E2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71E2#FFFFFF#000000##000000
##4E71E21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#307FE6
Deuteranopia (green-blind)
#0072E0
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e71e2;
/* rgb */ color: rgb(78, 113, 226);
/* oklch */ color: oklch(58.3% 0.176 267.7);
Tailwind
colors: {
  custom: {
    50: '#8e99ec',
    500: '#4e71e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e71e2;
$custom-light: #8e99ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71e2",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 225.811,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58263,
    "c": 0.17607,
    "h": 267.7
  },
  "luminance": 0.18921
}

Semantic roles & 50–950 ramp

primary
#4E71E2
secondary
#E3D5A9
accent
#C439EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4E71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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