#4780E6#4780E6

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

Color values

HEX#4780E6
RGBrgb(71, 128, 230)
HSLhsl(218, 76%, 59%)
HSVhsv(218, 69%, 90%)
CMYKcmyk(69.1%, 44.3%, 0%, 9.8%)
CIE-LABlab(54.54, 14.56, -57.25)
CIE-LCHlch(54.54, 59.07, 284.27°)
OKLaboklab(61.28% -0.0258 -0.1638)
OKLCHoklch(61.28% 0.166 261)
XYZxyz(24.5955, 22.4886, 77.8921)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4780E6 #E6AD47
analogous
#47CFE6 #4780E6 #5E47E6
triadic
#4780E6 #E64780 #80E647
tetradic
#4780E6 #E647CF #E6AD47 #47E65E
square
#4780E6 #E647CF #E6AD47 #47E65E
split-complementary
#4780E6 #E65E47 #CFE647
monochromatic
#15469D #1D5ED3 #4780E6 #7DA5ED #B3CAF5

Accessibility & contrast

On white

3.82
#4780E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#4780E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4780E6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4780E6#FFFFFF#000000##000000
##4780E61.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)
#4D8AEA
Deuteranopia (green-blind)
#2F7CE4
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4780e6;
/* rgb */ color: rgb(71, 128, 230);
/* oklch */ color: oklch(61.3% 0.166 261.0);
Tailwind
colors: {
  custom: {
    50: '#8ca4ee',
    500: '#4780e6',
    950: '#000000',
  },
}
SCSS
$custom: #4780e6;
$custom-light: #8ca4ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4780e6",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 230
  },
  "hsl": {
    "h": 218.491,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61277,
    "c": 0.16584,
    "h": 261
  },
  "luminance": 0.22491
}

Semantic roles & 50–950 ramp

primary
#4780E6
secondary
#E4CDA5
accent
#AF35F3
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4780E6

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

Preview Lab → · Contrast checker → · Palette generator →

#4780E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva