#4780D9#4780D9

#4780D9 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.5% C 0.149 H 259.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4780D9
RGBrgb(71, 128, 217)
HSLhsl(217, 66%, 56%)
HSVhsv(217, 67%, 85%)
CMYKcmyk(67.3%, 41%, 0%, 14.9%)
CIE-LABlab(53.80, 9.99, -51.14)
CIE-LCHlch(53.80, 52.11, 281.05°)
OKLaboklab(60.46% -0.0283 -0.1459)
OKLCHoklch(60.46% 0.149 259)
XYZxyz(22.8376, 21.7854, 68.6336)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4780D9 #D9A047
analogous
#47C9D9 #4780D9 #5747D9
triadic
#4780D9 #D94780 #80D947
tetradic
#4780D9 #D947C9 #D9A047 #47D957
square
#4780D9 #D947C9 #D9A047 #47D957
split-complementary
#4780D9 #D95747 #C9D947
monochromatic
#1C4789 #2761BC #4780D9 #7AA3E3 #ACC6EE

Accessibility & contrast

On white

3.92
#4780D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4780D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4780D9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4780D9#FFFFFF#000000##000000
##4780D91.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5788DC
Deuteranopia (green-blind)
#407AD7
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4780d9;
/* rgb */ color: rgb(71, 128, 217);
/* oklch */ color: oklch(60.5% 0.149 259.0);
Tailwind
colors: {
  custom: {
    50: '#89a4e5',
    500: '#4780d9',
    950: '#000000',
  },
}
SCSS
$custom: #4780d9;
$custom-light: #89a4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4780d9",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 217
  },
  "hsl": {
    "h": 216.575,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60463,
    "c": 0.14859,
    "h": 259
  },
  "luminance": 0.21788
}

Semantic roles & 50–950 ramp

primary
#4780D9
secondary
#DCC4A0
accent
#A63FE9
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4780D9

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

Preview Lab → · Contrast checker → · Palette generator →

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