#4C80DA#4C80DA

#4C80DA is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.7% C 0.148 H 260.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4C80DA
RGBrgb(76, 128, 218)
HSLhsl(218, 66%, 58%)
HSVhsv(218, 65%, 85%)
CMYKcmyk(65.1%, 41.3%, 0%, 14.5%)
CIE-LABlab(54.06, 11.15, -51.27)
CIE-LCHlch(54.06, 52.47, 282.27°)
OKLaboklab(60.74% -0.0241 -0.1462)
OKLCHoklch(60.74% 0.148 260.6)
XYZxyz(23.3501, 22.0345, 69.3386)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80DA #DAA64C
analogous
#4CC7DA #4C80DA #5F4CDA
triadic
#4C80DA #DA4C80 #80DA4C
tetradic
#4C80DA #DA4CC7 #DAA64C #4CDA5F
square
#4C80DA #DA4CC7 #DAA64C #4CDA5F
split-complementary
#4C80DA #DA5F4C #C7DA4C
monochromatic
#1D478E #2860C1 #4C80DA #7FA4E4 #B1C8EF

Accessibility & contrast

On white

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

On black

5.41
#4C80DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80DA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80DA#FFFFFF#000000##000000
##4C80DA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5788DE
Deuteranopia (green-blind)
#417BD8
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c80da;
/* rgb */ color: rgb(76, 128, 218);
/* oklch */ color: oklch(60.7% 0.148 260.6);
Tailwind
colors: {
  custom: {
    50: '#8ca4e6',
    500: '#4c80da',
    950: '#000000',
  },
}
SCSS
$custom: #4c80da;
$custom-light: #8ca4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80da",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 218
  },
  "hsl": {
    "h": 218.028,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60744,
    "c": 0.14814,
    "h": 260.6
  },
  "luminance": 0.22037
}

Semantic roles & 50–950 ramp

primary
#4C80DA
secondary
#DDC9A4
accent
#AB3FE9
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C80DA

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

Preview Lab → · Contrast checker → · Palette generator →

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