#4C80CA#4C80CA

#4C80CA is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.8% C 0.127 H 257.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4C80CA
RGBrgb(76, 128, 202)
HSLhsl(215, 54%, 55%)
HSVhsv(215, 62%, 79%)
CMYKcmyk(62.4%, 36.6%, 0%, 20.8%)
CIE-LABlab(53.21, 5.66, -43.58)
CIE-LCHlch(53.21, 43.95, 277.40°)
OKLaboklab(59.8% -0.0277 -0.1236)
OKLCHoklch(59.8% 0.127 257.4)
XYZxyz(21.3565, 21.2371, 58.8394)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C80CA #CA964C
analogous
#4CBFCA #4C80CA #574CCA
triadic
#4C80CA #CA4C80 #80CA4C
tetradic
#4C80CA #CA4CBF #CA964C #4CCA57
square
#4C80CA #CA4CBF #CA964C #4CCA57
split-complementary
#4C80CA #CA574C #BFCA4C
monochromatic
#244678 #3262A7 #4C80CA #7BA2D8 #AAC3E6

Accessibility & contrast

On white

4.00
#4C80CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4C80CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C80CA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C80CA#FFFFFF#000000##000000
##4C80CA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CD
Deuteranopia (green-blind)
#4F7AC8
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c80ca;
/* rgb */ color: rgb(76, 128, 202);
/* oklch */ color: oklch(59.8% 0.127 257.4);
Tailwind
colors: {
  custom: {
    50: '#89a4da',
    500: '#4c80ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c80ca;
$custom-light: #89a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#4c80ca",
  "rgb": {
    "r": 76,
    "g": 128,
    "b": 202
  },
  "hsl": {
    "h": 215.238,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59801,
    "c": 0.1267,
    "h": 257.4
  },
  "luminance": 0.21239
}

Semantic roles & 50–950 ramp

primary
#4C80CA
secondary
#D4BE9E
accent
#A14ADE
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4C80CA

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

Preview Lab → · Contrast checker → · Palette generator →

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