#4E71EB#4E71EB

#4E71EB is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.9% C 0.188 H 268.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4E71EB
RGBrgb(78, 113, 235)
HSLhsl(227, 80%, 61%)
HSVhsv(227, 67%, 92%)
CMYKcmyk(66.8%, 51.9%, 0%, 7.8%)
CIE-LABlab(51.18, 26.62, -65.44)
CIE-LCHlch(51.18, 70.64, 292.13°)
OKLaboklab(58.9% -0.0062 -0.188)
OKLCHoklch(58.9% 0.188 268.1)
XYZxyz(24.0373, 19.4258, 81.0639)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E71EB #EBC84E
analogous
#4EC0EB #4E71EB #7A4EEB
triadic
#4E71EB #EB4E71 #71EB4E
tetradic
#4E71EB #EB4EC0 #EBC84E #4EEB7A
square
#4E71EB #EB4EC0 #EBC84E #4EEB7A
split-complementary
#4E71EB #EB7A4E #C0EB4E
monochromatic
#1335AB #1A46E2 #4E71EB #859DF1 #BCC9F7

Accessibility & contrast

On white

4.30
#4E71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4E71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E71EB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E71EB#FFFFFF#000000##000000
##4E71EB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2181EF
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e71eb;
/* rgb */ color: rgb(78, 113, 235);
/* oklch */ color: oklch(58.9% 0.188 268.1);
Tailwind
colors: {
  custom: {
    50: '#9099f2',
    500: '#4e71eb',
    950: '#000000',
  },
}
SCSS
$custom: #4e71eb;
$custom-light: #9099f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e71eb",
  "rgb": {
    "r": 78,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 226.624,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58897,
    "c": 0.1881,
    "h": 268.1
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

primary
#4E71EB
secondary
#E8DBAD
accent
#AD09DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4E71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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