#4C80CC#4C80CC

#4C80CC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 59.9% C 0.129 H 257.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4C80CC
RGBrgb(76, 128, 204)
HSLhsl(216, 56%, 55%)
HSVhsv(216, 63%, 80%)
CMYKcmyk(62.7%, 37.3%, 0%, 20%)
CIE-LABlab(53.31, 6.34, -44.55)
CIE-LCHlch(53.31, 45.00, 278.10°)
OKLaboklab(59.92% -0.0272 -0.1265)
OKLCHoklch(59.92% 0.129 257.9)
XYZxyz(21.5949, 21.3325, 60.0946)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80CC #CC984C
analogous
#4CC0CC #4C80CC #584CCC
triadic
#4C80CC #CC4C80 #80CC4C
tetradic
#4C80CC #CC4CC0 #CC984C #4CCC58
square
#4C80CC #CC4CC0 #CC984C #4CCC58
split-complementary
#4C80CC #CC584C #C0CC4C
monochromatic
#23477B #3162AA #4C80CC #7CA2DA #ABC4E7

Accessibility & contrast

On white

3.99
#4C80CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4C80CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80CC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80CC#FFFFFF#000000##000000
##4C80CC1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#4D7ACA
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c80cc;
/* rgb */ color: rgb(76, 128, 204);
/* oklch */ color: oklch(59.9% 0.129 257.9);
Tailwind
colors: {
  custom: {
    50: '#89a4dc',
    500: '#4c80cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c80cc;
$custom-light: #89a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80cc",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 204
  },
  "hsl": {
    "h": 215.625,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.12938,
    "h": 257.9
  },
  "luminance": 0.21334
}

Semantic roles & 50–950 ramp

primary
#4C80CC
secondary
#D5BF9F
accent
#A249DF
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4C80CC

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

Preview Lab → · Contrast checker → · Palette generator →

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