#4C80CB#4C80CB

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

Color values

HEX#4C80CB
RGBrgb(76, 128, 203)
HSLhsl(215, 55%, 55%)
HSVhsv(215, 63%, 80%)
CMYKcmyk(62.6%, 36.9%, 0%, 20.4%)
CIE-LABlab(53.26, 6.00, -44.07)
CIE-LCHlch(53.26, 44.47, 277.76°)
OKLaboklab(59.86% -0.0275 -0.1251)
OKLCHoklch(59.86% 0.128 257.6)
XYZxyz(21.4753, 21.2846, 59.4649)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80CB #CB974C
analogous
#4CBFCB #4C80CB #584CCB
triadic
#4C80CB #CB4C80 #80CB4C
tetradic
#4C80CB #CB4CBF #CB974C #4CCB58
square
#4C80CB #CB4CBF #CB974C #4CCB58
split-complementary
#4C80CB #CB584C #BFCB4C
monochromatic
#234779 #3162A9 #4C80CB #7BA2D9 #ABC3E7

Accessibility & contrast

On white

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

On black

5.26
#4C80CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80CB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80CB#FFFFFF#000000##000000
##4C80CB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CE
Deuteranopia (green-blind)
#4E7AC9
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c80cb;
/* rgb */ color: rgb(76, 128, 203);
/* oklch */ color: oklch(59.9% 0.128 257.6);
Tailwind
colors: {
  custom: {
    50: '#89a4db',
    500: '#4c80cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c80cb;
$custom-light: #89a4db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80cb",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 203
  },
  "hsl": {
    "h": 215.433,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59858,
    "c": 0.12804,
    "h": 257.6
  },
  "luminance": 0.21287
}

Semantic roles & 50–950 ramp

primary
#4C80CB
secondary
#D4BE9F
accent
#A149DE
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4C80CB

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

Preview Lab → · Contrast checker → · Palette generator →

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