#4C80D5#4C80D5

#4C80D5 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.4% C 0.141 H 259.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4C80D5
RGBrgb(76, 128, 213)
HSLhsl(217, 62%, 57%)
HSVhsv(217, 64%, 84%)
CMYKcmyk(64.3%, 39.9%, 0%, 16.5%)
CIE-LABlab(53.79, 9.43, -48.89)
CIE-LCHlch(53.79, 49.79, 280.91°)
OKLaboklab(60.44% -0.0252 -0.1392)
OKLCHoklch(60.44% 0.141 259.7)
XYZxyz(22.7056, 21.7768, 65.9446)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80D5 #D5A14C
analogous
#4CC5D5 #4C80D5 #5D4CD5
triadic
#4C80D5 #D54C80 #80D54C
tetradic
#4C80D5 #D54CC5 #D5A14C #4CD55D
square
#4C80D5 #D54CC5 #D5A14C #4CD55D
split-complementary
#4C80D5 #D55D4C #C5D54C
monochromatic
#204787 #2B61B9 #4C80D5 #7EA3E1 #AFC6EC

Accessibility & contrast

On white

3.92
#4C80D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4C80D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80D5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80D5#FFFFFF#000000##000000
##4C80D51.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A87D8
Deuteranopia (green-blind)
#467BD3
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c80d5;
/* rgb */ color: rgb(76, 128, 213);
/* oklch */ color: oklch(60.4% 0.141 259.7);
Tailwind
colors: {
  custom: {
    50: '#8ba4e2',
    500: '#4c80d5',
    950: '#000000',
  },
}
SCSS
$custom: #4c80d5;
$custom-light: #8ba4e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80d5",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 213
  },
  "hsl": {
    "h": 217.226,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60443,
    "c": 0.14144,
    "h": 259.7
  },
  "luminance": 0.21779
}

Semantic roles & 50–950 ramp

primary
#4C80D5
secondary
#DAC5A2
accent
#A743E5
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C80D5

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

Preview Lab → · Contrast checker → · Palette generator →

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