#4C80D9#4C80D9

#4C80D9 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.7% C 0.147 H 260.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4C80D9
RGBrgb(76, 128, 217)
HSLhsl(218, 65%, 57%)
HSVhsv(218, 65%, 85%)
CMYKcmyk(65%, 41%, 0%, 14.9%)
CIE-LABlab(54.01, 10.81, -50.79)
CIE-LCHlch(54.01, 51.93, 282.01°)
OKLaboklab(60.68% -0.0243 -0.1448)
OKLCHoklch(60.68% 0.147 260.5)
XYZxyz(23.2196, 21.9824, 68.6515)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80D9 #D9A54C
analogous
#4CC7D9 #4C80D9 #5E4CD9
triadic
#4C80D9 #D94C80 #80D94C
tetradic
#4C80D9 #D94CC7 #D9A54C #4CD95E
square
#4C80D9 #D94CC7 #D9A54C #4CD95E
split-complementary
#4C80D9 #D95E4C #C7D94C
monochromatic
#1E478D #2960BF #4C80D9 #7EA4E4 #B1C8EE

Accessibility & contrast

On white

3.89
#4C80D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4C80D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80D9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80D9#FFFFFF#000000##000000
##4C80D91.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5788DC
Deuteranopia (green-blind)
#427BD7
Tritanopia (blue-blind)
#0094A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c80d9;
/* rgb */ color: rgb(76, 128, 217);
/* oklch */ color: oklch(60.7% 0.147 260.5);
Tailwind
colors: {
  custom: {
    50: '#8ca4e5',
    500: '#4c80d9',
    950: '#000000',
  },
}
SCSS
$custom: #4c80d9;
$custom-light: #8ca4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80d9",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 217
  },
  "hsl": {
    "h": 217.872,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60683,
    "c": 0.1468,
    "h": 260.5
  },
  "luminance": 0.21985
}

Semantic roles & 50–950 ramp

primary
#4C80D9
secondary
#DDC8A4
accent
#AA40E8
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C80D9

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

Preview Lab → · Contrast checker → · Palette generator →

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