#4C80ED#4C80ED

#4C80ED is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.9% C 0.173 H 263.1°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4C80ED
RGBrgb(76, 128, 237)
HSLhsl(221, 82%, 61%)
HSVhsv(221, 68%, 93%)
CMYKcmyk(67.9%, 46%, 0%, 7.1%)
CIE-LABlab(55.16, 17.76, -60.15)
CIE-LCHlch(55.16, 62.72, 286.45°)
OKLaboklab(61.94% -0.0208 -0.1722)
OKLCHoklch(61.94% 0.174 263.1)
XYZxyz(25.9803, 23.0866, 83.1913)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80ED #EDB94C
analogous
#4CD1ED #4C80ED #694CED
triadic
#4C80ED #ED4C80 #80ED4C
tetradic
#4C80ED #ED4CD1 #EDB94C #4CED69
square
#4C80ED #ED4CD1 #EDB94C #4CED69
split-complementary
#4C80ED #ED694C #D1ED4C
monochromatic
#1144AD #1759E5 #4C80ED #84A7F3 #BBCFF8

Accessibility & contrast

On white

3.74
#4C80ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#4C80ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80ED
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80ED#FFFFFF#000000##000000
##4C80ED1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF1
Deuteranopia (green-blind)
#267DEB
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4c80ed;
/* rgb */ color: rgb(76, 128, 237);
/* oklch */ color: oklch(61.9% 0.173 263.1);
Tailwind
colors: {
  custom: {
    50: '#8fa4f3',
    500: '#4c80ed',
    950: '#000000',
  },
}
SCSS
$custom: #4c80ed;
$custom-light: #8fa4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80ed",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 237
  },
  "hsl": {
    "h": 220.621,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61944,
    "c": 0.1735,
    "h": 263.1
  },
  "luminance": 0.23089
}

Semantic roles & 50–950 ramp

primary
#4C80ED
secondary
#E8D5AC
accent
#9907DE
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4C80ED

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

Preview Lab → · Contrast checker → · Palette generator →

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