#4780E4#4780E4

#4780E4 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.2% C 0.163 H 260.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4780E4
RGBrgb(71, 128, 228)
HSLhsl(218, 74%, 59%)
HSVhsv(218, 69%, 89%)
CMYKcmyk(68.9%, 43.9%, 0%, 10.6%)
CIE-LABlab(54.42, 13.86, -56.32)
CIE-LCHlch(54.42, 58.00, 283.82°)
OKLaboklab(61.15% -0.0262 -0.1611)
OKLCHoklch(61.15% 0.163 260.8)
XYZxyz(24.3163, 22.3769, 76.4214)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4780E4 #E4AB47
analogous
#47CEE4 #4780E4 #5C47E4
triadic
#4780E4 #E44780 #80E447
tetradic
#4780E4 #E447CE #E4AB47 #47E45C
square
#4780E4 #E447CE #E4AB47 #47E45C
split-complementary
#4780E4 #E45C47 #CEE447
monochromatic
#17469A #1E5FCF #4780E4 #7CA5EC #B2CAF4

Accessibility & contrast

On white

3.84
#4780E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#4780E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4780E4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4780E4#FFFFFF#000000##000000
##4780E41.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8AE8
Deuteranopia (green-blind)
#327BE2
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4780e4;
/* rgb */ color: rgb(71, 128, 228);
/* oklch */ color: oklch(61.2% 0.163 260.8);
Tailwind
colors: {
  custom: {
    50: '#8ba4ed',
    500: '#4780e4',
    950: '#000000',
  },
}
SCSS
$custom: #4780e4;
$custom-light: #8ba4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4780e4",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 228
  },
  "hsl": {
    "h": 218.217,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6115,
    "c": 0.16319,
    "h": 260.8
  },
  "luminance": 0.22379
}

Semantic roles & 50–950 ramp

primary
#4780E4
secondary
#E2CCA4
accent
#AD37F1
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4780E4

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

Preview Lab → · Contrast checker → · Palette generator →

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