#4C80DE#4C80DE

#4C80DE is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.0% C 0.154 H 261.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4C80DE
RGBrgb(76, 128, 222)
HSLhsl(219, 69%, 58%)
HSVhsv(219, 66%, 87%)
CMYKcmyk(65.8%, 42.3%, 0%, 12.9%)
CIE-LABlab(54.29, 12.54, -53.16)
CIE-LCHlch(54.29, 54.62, 283.27°)
OKLaboklab(60.99% -0.0234 -0.1517)
OKLCHoklch(60.99% 0.154 261.2)
XYZxyz(23.8798, 22.2464, 72.1286)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80DE #DEAA4C
analogous
#4CC9DE #4C80DE #614CDE
triadic
#4C80DE #DE4C80 #80DE4C
tetradic
#4C80DE #DE4CC9 #DEAA4C #4CDE61
square
#4C80DE #DE4CC9 #DEAA4C #4CDE61
split-complementary
#4C80DE #DE614C #C9DE4C
monochromatic
#1B4694 #255FC8 #4C80DE #80A5E8 #B3C9F1

Accessibility & contrast

On white

3.85
#4C80DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4C80DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80DE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80DE#FFFFFF#000000##000000
##4C80DE1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E2
Deuteranopia (green-blind)
#3C7CDC
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c80de;
/* rgb */ color: rgb(76, 128, 222);
/* oklch */ color: oklch(61.0% 0.154 261.2);
Tailwind
colors: {
  custom: {
    50: '#8ca4e9',
    500: '#4c80de',
    950: '#000000',
  },
}
SCSS
$custom: #4c80de;
$custom-light: #8ca4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80de",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 222
  },
  "hsl": {
    "h": 218.63,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.15351,
    "h": 261.2
  },
  "luminance": 0.22249
}

Semantic roles & 50–950 ramp

primary
#4C80DE
secondary
#E0CBA6
accent
#AD3CEC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C80DE

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

Preview Lab → · Contrast checker → · Palette generator →

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