#4780D8#4780D8

#4780D8 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.4% C 0.147 H 258.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4780D8
RGBrgb(71, 128, 216)
HSLhsl(216, 65%, 56%)
HSVhsv(216, 67%, 85%)
CMYKcmyk(67.1%, 40.7%, 0%, 15.3%)
CIE-LABlab(53.74, 9.64, -50.67)
CIE-LCHlch(53.74, 51.57, 280.77°)
OKLaboklab(60.4% -0.0285 -0.1445)
OKLCHoklch(60.4% 0.147 258.8)
XYZxyz(22.7079, 21.7335, 67.9507)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4780D8 #D89F47
analogous
#47C8D8 #4780D8 #5747D8
triadic
#4780D8 #D84780 #80D847
tetradic
#4780D8 #D847C8 #D89F47 #47D857
square
#4780D8 #D847C8 #D89F47 #47D857
split-complementary
#4780D8 #D85747 #C8D847
monochromatic
#1D4788 #2761BA #4780D8 #79A3E3 #ACC6ED

Accessibility & contrast

On white

3.93
#4780D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4780D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4780D8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4780D8#FFFFFF#000000##000000
##4780D81.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5788DB
Deuteranopia (green-blind)
#417AD6
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4780d8;
/* rgb */ color: rgb(71, 128, 216);
/* oklch */ color: oklch(60.4% 0.147 258.8);
Tailwind
colors: {
  custom: {
    50: '#89a4e4',
    500: '#4780d8',
    950: '#000000',
  },
}
SCSS
$custom: #4780d8;
$custom-light: #89a4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4780d8",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 216
  },
  "hsl": {
    "h": 216.414,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60402,
    "c": 0.14726,
    "h": 258.8
  },
  "luminance": 0.21736
}

Semantic roles & 50–950 ramp

primary
#4780D8
secondary
#DBC4A0
accent
#A640E8
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4780D8

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

Preview Lab → · Contrast checker → · Palette generator →

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