#4E80C7#4E80C7

#4E80C7 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.7% C 0.122 H 257.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4E80C7
RGBrgb(78, 128, 199)
HSLhsl(215, 52%, 54%)
HSVhsv(215, 61%, 78%)
CMYKcmyk(60.8%, 35.7%, 0%, 22%)
CIE-LABlab(53.15, 5.03, -41.97)
CIE-LCHlch(53.15, 42.27, 276.83°)
OKLaboklab(59.73% -0.0268 -0.1189)
OKLCHoklch(59.73% 0.122 257.3)
XYZxyz(21.1662, 21.1797, 56.9944)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E80C7 #C7954E
analogous
#4EBCC7 #4E80C7 #594EC7
triadic
#4E80C7 #C74E80 #80C74E
tetradic
#4E80C7 #C74EBC #C7954E #4EC759
square
#4E80C7 #C74EBC #C7954E #4EC759
split-complementary
#4E80C7 #C7594E #BCC74E
monochromatic
#254675 #3462A4 #4E80C7 #7CA1D6 #ABC3E4

Accessibility & contrast

On white

4.01
#4E80C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4E80C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E80C7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E80C7#FFFFFF#000000##000000
##4E80C71.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6285CA
Deuteranopia (green-blind)
#527AC6
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e80c7;
/* rgb */ color: rgb(78, 128, 199);
/* oklch */ color: oklch(59.7% 0.122 257.3);
Tailwind
colors: {
  custom: {
    50: '#8aa4d8',
    500: '#4e80c7',
    950: '#000000',
  },
}
SCSS
$custom: #4e80c7;
$custom-light: #8aa4d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e80c7",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 199
  },
  "hsl": {
    "h": 215.207,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59728,
    "c": 0.12187,
    "h": 257.3
  },
  "luminance": 0.21182
}

Semantic roles & 50–950 ramp

primary
#4E80C7
secondary
#D2BD9F
accent
#A04CDB
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #4E80C7

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

Preview Lab → · Contrast checker → · Palette generator →

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