#4C80E1#4C80E1

#4C80E1 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.2% C 0.158 H 261.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4C80E1
RGBrgb(76, 128, 225)
HSLhsl(219, 71%, 59%)
HSVhsv(219, 66%, 88%)
CMYKcmyk(66.2%, 43.1%, 0%, 11.8%)
CIE-LABlab(54.46, 13.58, -54.57)
CIE-LCHlch(54.46, 56.24, 283.97°)
OKLaboklab(61.18% -0.0228 -0.1559)
OKLCHoklch(61.18% 0.158 261.7)
XYZxyz(24.2855, 22.4087, 74.2650)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80E1 #E1AD4C
analogous
#4CCBE1 #4C80E1 #634CE1
triadic
#4C80E1 #E14C80 #80E14C
tetradic
#4C80E1 #E14CCB #E1AD4C #4CE163
square
#4C80E1 #E14CCB #E1AD4C #4CE163
split-complementary
#4C80E1 #E1634C #CBE14C
monochromatic
#1A4699 #225ECD #4C80E1 #80A5EA #B5CAF3

Accessibility & contrast

On white

3.83
#4C80E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#4C80E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80E1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80E1#FFFFFF#000000##000000
##4C80E11.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528AE5
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c80e1;
/* rgb */ color: rgb(76, 128, 225);
/* oklch */ color: oklch(61.2% 0.158 261.7);
Tailwind
colors: {
  custom: {
    50: '#8da4eb',
    500: '#4c80e1',
    950: '#000000',
  },
}
SCSS
$custom: #4c80e1;
$custom-light: #8da4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80e1",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 225
  },
  "hsl": {
    "h": 219.06,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61176,
    "c": 0.15752,
    "h": 261.7
  },
  "luminance": 0.22411
}

Semantic roles & 50–950 ramp

primary
#4C80E1
secondary
#E2CDA7
accent
#AF3AEE
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C80E1

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

Preview Lab → · Contrast checker → · Palette generator →

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