#4C80DB#4C80DB

#4C80DB is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.8% C 0.149 H 260.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4C80DB
RGBrgb(76, 128, 219)
HSLhsl(218, 67%, 58%)
HSVhsv(218, 65%, 86%)
CMYKcmyk(65.3%, 41.6%, 0%, 14.1%)
CIE-LABlab(54.12, 11.50, -51.74)
CIE-LCHlch(54.12, 53.01, 282.53°)
OKLaboklab(60.81% -0.0239 -0.1475)
OKLCHoklch(60.81% 0.149 260.8)
XYZxyz(23.4813, 22.0870, 70.0299)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80DB #DBA74C
analogous
#4CC7DB #4C80DB #5F4CDB
triadic
#4C80DB #DB4C80 #80DB4C
tetradic
#4C80DB #DB4CC7 #DBA74C #4CDB5F
square
#4C80DB #DB4CC7 #DBA74C #4CDB5F
split-complementary
#4C80DB #DB5F4C #C7DB4C
monochromatic
#1D4790 #2760C3 #4C80DB #7FA4E5 #B2C8EF

Accessibility & contrast

On white

3.88
#4C80DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#4C80DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80DB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80DB#FFFFFF#000000##000000
##4C80DB1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689DF
Deuteranopia (green-blind)
#407BD9
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c80db;
/* rgb */ color: rgb(76, 128, 219);
/* oklch */ color: oklch(60.8% 0.149 260.8);
Tailwind
colors: {
  custom: {
    50: '#8ca4e7',
    500: '#4c80db',
    950: '#000000',
  },
}
SCSS
$custom: #4c80db;
$custom-light: #8ca4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80db",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 219
  },
  "hsl": {
    "h": 218.182,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60805,
    "c": 0.14948,
    "h": 260.8
  },
  "luminance": 0.22089
}

Semantic roles & 50–950 ramp

primary
#4C80DB
secondary
#DEC9A5
accent
#AB3EE9
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C80DB

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

Preview Lab → · Contrast checker → · Palette generator →

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