#4C80DF#4C80DF

#4C80DF is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.1% C 0.155 H 261.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4C80DF
RGBrgb(76, 128, 223)
HSLhsl(219, 70%, 59%)
HSVhsv(219, 66%, 87%)
CMYKcmyk(65.9%, 42.6%, 0%, 12.5%)
CIE-LABlab(54.34, 12.88, -53.63)
CIE-LCHlch(54.34, 55.16, 283.51°)
OKLaboklab(61.05% -0.0232 -0.1531)
OKLCHoklch(61.05% 0.155 261.4)
XYZxyz(24.0142, 22.3002, 72.8365)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80DF #DFAB4C
analogous
#4CC9DF #4C80DF #614CDF
triadic
#4C80DF #DF4C80 #80DF4C
tetradic
#4C80DF #DF4CC9 #DFAB4C #4CDF61
square
#4C80DF #DF4CC9 #DFAB4C #4CDF61
split-complementary
#4C80DF #DF614C #C9DF4C
monochromatic
#1B4696 #245FCA #4C80DF #80A5E8 #B4CAF2

Accessibility & contrast

On white

3.85
#4C80DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4C80DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80DF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80DF#FFFFFF#000000##000000
##4C80DF1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E3
Deuteranopia (green-blind)
#3B7CDD
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c80df;
/* rgb */ color: rgb(76, 128, 223);
/* oklch */ color: oklch(61.1% 0.155 261.4);
Tailwind
colors: {
  custom: {
    50: '#8da4e9',
    500: '#4c80df',
    950: '#000000',
  },
}
SCSS
$custom: #4c80df;
$custom-light: #8da4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80df",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 223
  },
  "hsl": {
    "h": 218.776,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61052,
    "c": 0.15485,
    "h": 261.4
  },
  "luminance": 0.22303
}

Semantic roles & 50–950 ramp

primary
#4C80DF
secondary
#E0CCA6
accent
#AE3BEC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C80DF

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

Preview Lab → · Contrast checker → · Palette generator →

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