#4C80E4#4C80E4

#4C80E4 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.4% C 0.162 H 262.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4C80E4
RGBrgb(76, 128, 228)
HSLhsl(219, 74%, 60%)
HSVhsv(219, 67%, 89%)
CMYKcmyk(66.7%, 43.9%, 0%, 10.6%)
CIE-LABlab(54.63, 14.62, -55.98)
CIE-LCHlch(54.63, 57.85, 284.64°)
OKLaboklab(61.37% -0.0223 -0.16)
OKLCHoklch(61.37% 0.162 262.1)
XYZxyz(24.6983, 22.5738, 76.4393)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80E4 #E4B04C
analogous
#4CCCE4 #4C80E4 #644CE4
triadic
#4C80E4 #E44C80 #80E44C
tetradic
#4C80E4 #E44CCC #E4B04C #4CE464
square
#4C80E4 #E44CCC #E4B04C #4CE464
split-complementary
#4C80E4 #E4644C #CCE44C
monochromatic
#18469E #205DD3 #4C80E4 #81A6EC #B6CBF4

Accessibility & contrast

On white

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

On black

5.52
#4C80E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80E4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80E4#FFFFFF#000000##000000
##4C80E41.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#508AE8
Deuteranopia (green-blind)
#357CE2
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4c80e4;
/* rgb */ color: rgb(76, 128, 228);
/* oklch */ color: oklch(61.4% 0.162 262.1);
Tailwind
colors: {
  custom: {
    50: '#8da4ed',
    500: '#4c80e4',
    950: '#000000',
  },
}
SCSS
$custom: #4c80e4;
$custom-light: #8da4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80e4",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 228
  },
  "hsl": {
    "h": 219.474,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61365,
    "c": 0.16153,
    "h": 262.1
  },
  "luminance": 0.22576
}

Semantic roles & 50–950 ramp

primary
#4C80E4
secondary
#E3CFA8
accent
#B137F0
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C80E4

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

Preview Lab → · Contrast checker → · Palette generator →

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