#4C80CF#4C80CF

#4C80CF is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.1% C 0.133 H 258.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4C80CF
RGBrgb(76, 128, 207)
HSLhsl(216, 58%, 55%)
HSVhsv(216, 63%, 81%)
CMYKcmyk(63.3%, 38.2%, 0%, 18.8%)
CIE-LABlab(53.47, 7.37, -46.00)
CIE-LCHlch(53.47, 46.59, 279.10°)
OKLaboklab(60.09% -0.0265 -0.1307)
OKLCHoklch(60.09% 0.133 258.5)
XYZxyz(21.9581, 21.4778, 62.0078)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80CF #CF9B4C
analogous
#4CC1CF #4C80CF #594CCF
triadic
#4C80CF #CF4C80 #80CF4C
tetradic
#4C80CF #CF4CC1 #CF9B4C #4CCF59
square
#4C80CF #CF4CC1 #CF9B4C #4CCF59
split-complementary
#4C80CF #CF594C #C1CF4C
monochromatic
#22477F #2F62AF #4C80CF #7CA2DC #ADC4E9

Accessibility & contrast

On white

3.97
#4C80CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4C80CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80CF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80CF#FFFFFF#000000##000000
##4C80CF1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D86D2
Deuteranopia (green-blind)
#4B7ACD
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c80cf;
/* rgb */ color: rgb(76, 128, 207);
/* oklch */ color: oklch(60.1% 0.133 258.5);
Tailwind
colors: {
  custom: {
    50: '#8aa4de',
    500: '#4c80cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c80cf;
$custom-light: #8aa4de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80cf",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 207
  },
  "hsl": {
    "h": 216.183,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60089,
    "c": 0.13339,
    "h": 258.5
  },
  "luminance": 0.2148
}

Semantic roles & 50–950 ramp

primary
#4C80CF
secondary
#D7C1A0
accent
#A447E1
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C80CF

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

Preview Lab → · Contrast checker → · Palette generator →

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