#4D80E8#4D80E8

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

Color values

HEX#4D80E8
RGBrgb(77, 128, 232)
HSLhsl(220, 77%, 61%)
HSVhsv(220, 67%, 91%)
CMYKcmyk(66.8%, 44.8%, 0%, 9%)
CIE-LABlab(54.91, 16.17, -57.77)
CIE-LCHlch(54.91, 59.99, 285.64°)
OKLaboklab(61.67% -0.0208 -0.1652)
OKLCHoklch(61.67% 0.167 262.8)
XYZxyz(25.3401, 22.8398, 79.4014)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D80E8 #E8B54D
analogous
#4DCDE8 #4D80E8 #674DE8
triadic
#4D80E8 #E84D80 #80E84D
tetradic
#4D80E8 #E84DCD #E8B54D #4DE867
square
#4D80E8 #E84DCD #E8B54D #4DE867
split-complementary
#4D80E8 #E8674D #CDE84D
monochromatic
#1545A5 #1C5BDB #4D80E8 #83A7EF #B9CDF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D80E8#FFFFFF#000000##000000
##4D80E81.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)
#4C8BEC
Deuteranopia (green-blind)
#307DE6
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4d80e8;
/* rgb */ color: rgb(77, 128, 232);
/* oklch */ color: oklch(61.7% 0.167 262.8);
Tailwind
colors: {
  custom: {
    50: '#8fa4f0',
    500: '#4d80e8',
    950: '#000000',
  },
}
SCSS
$custom: #4d80e8;
$custom-light: #8fa4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d80e8",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 232
  },
  "hsl": {
    "h": 220.258,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61665,
    "c": 0.16654,
    "h": 262.8
  },
  "luminance": 0.22842
}

Semantic roles & 50–950 ramp

primary
#4D80E8
secondary
#E6D2AB
accent
#960CD9
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4D80E8

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

Preview Lab → · Contrast checker → · Palette generator →

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