#4E80E7#4E80E7

#4E80E7 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.6% C 0.165 H 263.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4E80E7
RGBrgb(78, 128, 231)
HSLhsl(220, 76%, 61%)
HSVhsv(220, 66%, 91%)
CMYKcmyk(66.2%, 44.6%, 0%, 9.4%)
CIE-LABlab(54.89, 15.98, -57.23)
CIE-LCHlch(54.89, 59.42, 285.60°)
OKLaboklab(61.65% -0.0201 -0.1636)
OKLCHoklch(61.65% 0.165 263)
XYZxyz(25.2798, 22.8251, 78.6592)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E80E7 #E7B54E
analogous
#4ECCE7 #4E80E7 #684EE7
triadic
#4E80E7 #E74E80 #80E74E
tetradic
#4E80E7 #E74ECC #E7B54E #4EE768
square
#4E80E7 #E74ECC #E7B54E #4EE768
split-complementary
#4E80E7 #E7684E #CCE74E
monochromatic
#1645A4 #1E5BDA #4E80E7 #84A7EE #BACDF6

Accessibility & contrast

On white

3.77
#4E80E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#4E80E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E80E7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E80E7#FFFFFF#000000##000000
##4E80E71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8BEB
Deuteranopia (green-blind)
#327DE5
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e80e7;
/* rgb */ color: rgb(78, 128, 231);
/* oklch */ color: oklch(61.6% 0.165 263.0);
Tailwind
colors: {
  custom: {
    50: '#8fa4ef',
    500: '#4e80e7',
    950: '#000000',
  },
}
SCSS
$custom: #4e80e7;
$custom-light: #8fa4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4e80e7",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 231
  },
  "hsl": {
    "h": 220.392,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61646,
    "c": 0.16488,
    "h": 263
  },
  "luminance": 0.22828
}

Semantic roles & 50–950 ramp

primary
#4E80E7
secondary
#E5D2AB
accent
#960DD8
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4E80E7

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

Preview Lab → · Contrast checker → · Palette generator →

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