#4E80E2#4E80E2

#4E80E2 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.3% C 0.158 H 262.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4E80E2
RGBrgb(78, 128, 226)
HSLhsl(220, 72%, 60%)
HSVhsv(220, 65%, 89%)
CMYKcmyk(65.5%, 43.4%, 0%, 11.4%)
CIE-LABlab(54.60, 14.25, -54.90)
CIE-LCHlch(54.60, 56.72, 284.55°)
OKLaboklab(61.33% -0.021 -0.1568)
OKLCHoklch(61.33% 0.158 262.4)
XYZxyz(24.5837, 22.5467, 74.9931)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E80E2 #E2B04E
analogous
#4ECAE2 #4E80E2 #664EE2
triadic
#4E80E2 #E24E80 #80E24E
tetradic
#4E80E2 #E24ECA #E2B04E #4EE266
square
#4E80E2 #E24ECA #E2B04E #4EE266
split-complementary
#4E80E2 #E2664E #CAE24E
monochromatic
#1A469C #225DD1 #4E80E2 #83A6EB #B7CBF3

Accessibility & contrast

On white

3.81
#4E80E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#4E80E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E80E2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E80E2#FFFFFF#000000##000000
##4E80E21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#518AE6
Deuteranopia (green-blind)
#397CE0
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e80e2;
/* rgb */ color: rgb(78, 128, 226);
/* oklch */ color: oklch(61.3% 0.158 262.4);
Tailwind
colors: {
  custom: {
    50: '#8ea4ec',
    500: '#4e80e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e80e2;
$custom-light: #8ea4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e80e2",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 226
  },
  "hsl": {
    "h": 219.73,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6133,
    "c": 0.15818,
    "h": 262.4
  },
  "luminance": 0.22549
}

Semantic roles & 50–950 ramp

primary
#4E80E2
secondary
#E3CFA9
accent
#B139EF
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4E80E2

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

Preview Lab → · Contrast checker → · Palette generator →

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