#4780E8#4780E8

#4780E8 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.4% C 0.168 H 261.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4780E8
RGBrgb(71, 128, 232)
HSLhsl(219, 78%, 59%)
HSVhsv(219, 69%, 91%)
CMYKcmyk(69.4%, 44.8%, 0%, 9%)
CIE-LABlab(54.66, 15.27, -58.18)
CIE-LCHlch(54.66, 60.15, 284.71°)
OKLaboklab(61.41% -0.0255 -0.1665)
OKLCHoklch(61.41% 0.168 261.3)
XYZxyz(24.8780, 22.6015, 79.3797)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4780E8 #E8AF47
analogous
#47D0E8 #4780E8 #5F47E8
triadic
#4780E8 #E84780 #80E847
tetradic
#4780E8 #E847D0 #E8AF47 #47E85F
square
#4780E8 #E847D0 #E8AF47 #47E85F
split-complementary
#4780E8 #E85F47 #D0E847
monochromatic
#1446A1 #1B5DD7 #4780E8 #7DA6EF #B4CBF6

Accessibility & contrast

On white

3.80
#4780E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#4780E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4780E8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4780E8#FFFFFF#000000##000000
##4780E81.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8BEC
Deuteranopia (green-blind)
#2C7CE6
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4780e8;
/* rgb */ color: rgb(71, 128, 232);
/* oklch */ color: oklch(61.4% 0.168 261.3);
Tailwind
colors: {
  custom: {
    50: '#8ca4f0',
    500: '#4780e8',
    950: '#000000',
  },
}
SCSS
$custom: #4780e8;
$custom-light: #8ca4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4780e8",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 232
  },
  "hsl": {
    "h": 218.758,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61406,
    "c": 0.16848,
    "h": 261.3
  },
  "luminance": 0.22604
}

Semantic roles & 50–950 ramp

primary
#4780E8
secondary
#E5CFA6
accent
#B034F4
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F17
muted
#7E7F85

Preview Lab

Preview with #4780E8

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

Preview Lab → · Contrast checker → · Palette generator →

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