#4C80DD#4C80DD

#4C80DD is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.9% C 0.152 H 261.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4C80DD
RGBrgb(76, 128, 221)
HSLhsl(218, 68%, 58%)
HSVhsv(218, 66%, 87%)
CMYKcmyk(65.6%, 42.1%, 0%, 13.3%)
CIE-LABlab(54.23, 12.19, -52.69)
CIE-LCHlch(54.23, 54.08, 283.03°)
OKLaboklab(60.93% -0.0236 -0.1503)
OKLCHoklch(60.93% 0.152 261.1)
XYZxyz(23.7462, 22.1930, 71.4248)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80DD #DDA94C
analogous
#4CC8DD #4C80DD #604CDD
triadic
#4C80DD #DD4C80 #80DD4C
tetradic
#4C80DD #DD4CC8 #DDA94C #4CDD60
square
#4C80DD #DD4CC8 #DDA94C #4CDD60
split-complementary
#4C80DD #DD604C #C8DD4C
monochromatic
#1C4693 #265FC6 #4C80DD #7FA4E7 #B3C9F1

Accessibility & contrast

On white

3.86
#4C80DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#4C80DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80DD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80DD#FFFFFF#000000##000000
##4C80DD1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5589E1
Deuteranopia (green-blind)
#3E7BDB
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c80dd;
/* rgb */ color: rgb(76, 128, 221);
/* oklch */ color: oklch(60.9% 0.152 261.1);
Tailwind
colors: {
  custom: {
    50: '#8ca4e8',
    500: '#4c80dd',
    950: '#000000',
  },
}
SCSS
$custom: #4c80dd;
$custom-light: #8ca4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80dd",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 221
  },
  "hsl": {
    "h": 218.483,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60928,
    "c": 0.15216,
    "h": 261.1
  },
  "luminance": 0.22195
}

Semantic roles & 50–950 ramp

primary
#4C80DD
secondary
#DFCBA6
accent
#AD3DEB
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C80DD

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

Preview Lab → · Contrast checker → · Palette generator →

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