#4780DC#4780DC

#4780DC is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.6% C 0.153 H 259.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4780DC
RGBrgb(71, 128, 220)
HSLhsl(217, 68%, 57%)
HSVhsv(217, 68%, 86%)
CMYKcmyk(67.7%, 41.8%, 0%, 13.7%)
CIE-LABlab(53.97, 11.04, -52.56)
CIE-LCHlch(53.97, 53.71, 281.86°)
OKLaboklab(60.65% -0.0277 -0.15)
OKLCHoklch(60.65% 0.153 259.5)
XYZxyz(23.2313, 21.9429, 70.7074)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4780DC #DCA347
analogous
#47CBDC #4780DC #5947DC
triadic
#4780DC #DC4780 #80DC47
tetradic
#4780DC #DC47CB #DCA347 #47DC59
square
#4780DC #DC47CB #DCA347 #47DC59
split-complementary
#4780DC #DC5947 #CBDC47
monochromatic
#1B478E #2561C1 #4780DC #7AA3E6 #AEC7F0

Accessibility & contrast

On white

3.90
#4780DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#4780DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4780DC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4780DC#FFFFFF#000000##000000
##4780DC1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588E0
Deuteranopia (green-blind)
#3C7BDA
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4780dc;
/* rgb */ color: rgb(71, 128, 220);
/* oklch */ color: oklch(60.6% 0.153 259.5);
Tailwind
colors: {
  custom: {
    50: '#8aa4e7',
    500: '#4780dc',
    950: '#000000',
  },
}
SCSS
$custom: #4780dc;
$custom-light: #8aa4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4780dc",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 220
  },
  "hsl": {
    "h": 217.047,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60647,
    "c": 0.15257,
    "h": 259.5
  },
  "luminance": 0.21945
}

Semantic roles & 50–950 ramp

primary
#4780DC
secondary
#DEC7A1
accent
#A83DEB
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4780DC

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

Preview Lab → · Contrast checker → · Palette generator →

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