#4C80E3#4C80E3

#4C80E3 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.3% C 0.160 H 261.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4C80E3
RGBrgb(76, 128, 227)
HSLhsl(219, 73%, 59%)
HSVhsv(219, 67%, 89%)
CMYKcmyk(66.5%, 43.6%, 0%, 11%)
CIE-LABlab(54.57, 14.27, -55.51)
CIE-LCHlch(54.57, 57.31, 284.42°)
OKLaboklab(61.3% -0.0225 -0.1586)
OKLCHoklch(61.3% 0.16 261.9)
XYZxyz(24.5599, 22.5185, 75.7103)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80E3 #E3AF4C
analogous
#4CCBE3 #4C80E3 #644CE3
triadic
#4C80E3 #E34C80 #80E34C
tetradic
#4C80E3 #E34CCB #E3AF4C #4CE364
square
#4C80E3 #E34CCB #E3AF4C #4CE364
split-complementary
#4C80E3 #E3644C #CBE34C
monochromatic
#18469C #215DD1 #4C80E3 #81A6EB #B6CBF4

Accessibility & contrast

On white

3.82
#4C80E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#4C80E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80E3
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80E3#FFFFFF#000000##000000
##4C80E31.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#508AE7
Deuteranopia (green-blind)
#367CE1
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4c80e3;
/* rgb */ color: rgb(76, 128, 227);
/* oklch */ color: oklch(61.3% 0.160 261.9);
Tailwind
colors: {
  custom: {
    50: '#8da4ec',
    500: '#4c80e3',
    950: '#000000',
  },
}
SCSS
$custom: #4c80e3;
$custom-light: #8da4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80e3",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 227
  },
  "hsl": {
    "h": 219.338,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61302,
    "c": 0.16019,
    "h": 261.9
  },
  "luminance": 0.22521
}

Semantic roles & 50–950 ramp

primary
#4C80E3
secondary
#E3CFA8
accent
#B038F0
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C80E3

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

Preview Lab → · Contrast checker → · Palette generator →

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