#4E71E3#4E71E3

#4E71E3 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.3% C 0.177 H 267.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4E71E3
RGBrgb(78, 113, 227)
HSLhsl(226, 73%, 60%)
HSVhsv(226, 66%, 89%)
CMYKcmyk(65.6%, 50.2%, 0%, 11%)
CIE-LABlab(50.66, 23.85, -61.79)
CIE-LCHlch(50.66, 66.23, 291.10°)
OKLaboklab(58.33% -0.007 -0.1773)
OKLCHoklch(58.33% 0.177 267.8)
XYZxyz(22.9074, 18.9739, 75.1133)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71E3 #E3C04E
analogous
#4EBCE3 #4E71E3 #764EE3
triadic
#4E71E3 #E34E71 #71E34E
tetradic
#4E71E3 #E34EBC #E3C04E #4EE376
square
#4E71E3 #E34EBC #E3C04E #4EE376
split-complementary
#4E71E3 #E3764E #BCE34E
monochromatic
#19389E #214BD3 #4E71E3 #839BEB #B8C6F4

Accessibility & contrast

On white

4.38
#4E71E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4E71E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71E3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71E3#FFFFFF#000000##000000
##4E71E31.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F80E7
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e71e3;
/* rgb */ color: rgb(78, 113, 227);
/* oklch */ color: oklch(58.3% 0.177 267.8);
Tailwind
colors: {
  custom: {
    50: '#8f99ec',
    500: '#4e71e3',
    950: '#000000',
  },
}
SCSS
$custom: #4e71e3;
$custom-light: #8f99ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71e3",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 227
  },
  "hsl": {
    "h": 225.906,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58332,
    "c": 0.17742,
    "h": 267.8
  },
  "luminance": 0.18976
}

Semantic roles & 50–950 ramp

primary
#4E71E3
secondary
#E3D6AA
accent
#C438EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4E71E3

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

Preview Lab → · Contrast checker → · Palette generator →

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