#4C80CD#4C80CD

#4C80CD is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.0% C 0.131 H 258.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4C80CD
RGBrgb(76, 128, 205)
HSLhsl(216, 56%, 55%)
HSVhsv(216, 63%, 80%)
CMYKcmyk(62.9%, 37.6%, 0%, 19.6%)
CIE-LABlab(53.36, 6.68, -45.04)
CIE-LCHlch(53.36, 45.53, 278.44°)
OKLaboklab(59.97% -0.027 -0.1279)
OKLCHoklch(59.97% 0.131 258.1)
XYZxyz(21.7152, 21.3806, 60.7283)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80CD #CD994C
analogous
#4CC0CD #4C80CD #584CCD
triadic
#4C80CD #CD4C80 #80CD4C
tetradic
#4C80CD #CD4CC0 #CD994C #4CCD58
square
#4C80CD #CD4CC0 #CD994C #4CCD58
split-complementary
#4C80CD #CD584C #C0CD4C
monochromatic
#23477C #3062AC #4C80CD #7CA2DA #ACC4E8

Accessibility & contrast

On white

3.98
#4C80CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4C80CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80CD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80CD#FFFFFF#000000##000000
##4C80CD1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86D0
Deuteranopia (green-blind)
#4C7ACB
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c80cd;
/* rgb */ color: rgb(76, 128, 205);
/* oklch */ color: oklch(60.0% 0.131 258.1);
Tailwind
colors: {
  custom: {
    50: '#8aa4dc',
    500: '#4c80cd',
    950: '#000000',
  },
}
SCSS
$custom: #4c80cd;
$custom-light: #8aa4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80cd",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 205
  },
  "hsl": {
    "h": 215.814,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59973,
    "c": 0.13071,
    "h": 258.1
  },
  "luminance": 0.21383
}

Semantic roles & 50–950 ramp

primary
#4C80CD
secondary
#D5C09F
accent
#A348E0
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4C80CD

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

Preview Lab → · Contrast checker → · Palette generator →

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