#4C80D8#4C80D8

#4C80D8 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.6% C 0.145 H 260.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4C80D8
RGBrgb(76, 128, 216)
HSLhsl(218, 64%, 57%)
HSVhsv(218, 65%, 85%)
CMYKcmyk(64.8%, 40.7%, 0%, 15.3%)
CIE-LABlab(53.95, 10.46, -50.32)
CIE-LCHlch(53.95, 51.39, 281.74°)
OKLaboklab(60.62% -0.0246 -0.1434)
OKLCHoklch(60.62% 0.145 260.3)
XYZxyz(23.0899, 21.9305, 67.9686)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80D8 #D8A44C
analogous
#4CC6D8 #4C80D8 #5E4CD8
triadic
#4C80D8 #D84C80 #80D84C
tetradic
#4C80D8 #D84CC6 #D8A44C #4CD85E
square
#4C80D8 #D84CC6 #D8A44C #4CD85E
split-complementary
#4C80D8 #D85E4C #C6D84C
monochromatic
#1E478B #2960BE #4C80D8 #7EA4E3 #B1C7EE

Accessibility & contrast

On white

3.90
#4C80D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#4C80D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80D8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80D8#FFFFFF#000000##000000
##4C80D81.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5888DB
Deuteranopia (green-blind)
#437BD6
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c80d8;
/* rgb */ color: rgb(76, 128, 216);
/* oklch */ color: oklch(60.6% 0.145 260.3);
Tailwind
colors: {
  custom: {
    50: '#8ba4e4',
    500: '#4c80d8',
    950: '#000000',
  },
}
SCSS
$custom: #4c80d8;
$custom-light: #8ba4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80d8",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 216
  },
  "hsl": {
    "h": 217.714,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60623,
    "c": 0.14546,
    "h": 260.3
  },
  "luminance": 0.21933
}

Semantic roles & 50–950 ramp

primary
#4C80D8
secondary
#DCC7A4
accent
#A941E7
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C80D8

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

Preview Lab → · Contrast checker → · Palette generator →

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