#4780D2#4780D2

#4780D2 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.0% C 0.139 H 257.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4780D2
RGBrgb(71, 128, 210)
HSLhsl(215, 61%, 55%)
HSVhsv(215, 66%, 82%)
CMYKcmyk(66.2%, 39%, 0%, 17.6%)
CIE-LABlab(53.42, 7.54, -47.80)
CIE-LCHlch(53.42, 48.39, 278.96°)
OKLaboklab(60.04% -0.0298 -0.1361)
OKLCHoklch(60.04% 0.139 257.6)
XYZxyz(21.9464, 21.4289, 63.9399)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4780D2 #D29947
analogous
#47C5D2 #4780D2 #5447D2
triadic
#4780D2 #D24780 #80D247
tetradic
#4780D2 #D247C5 #D29947 #47D254
square
#4780D2 #D247C5 #D29947 #47D254
split-complementary
#4780D2 #D25447 #C5D247
monochromatic
#1F477F #2B62B1 #4780D2 #78A2DE #A9C4EA

Accessibility & contrast

On white

3.97
#4780D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4780D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4780D2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4780D2#FFFFFF#000000##000000
##4780D21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B87D5
Deuteranopia (green-blind)
#467AD0
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4780d2;
/* rgb */ color: rgb(71, 128, 210);
/* oklch */ color: oklch(60.0% 0.139 257.6);
Tailwind
colors: {
  custom: {
    50: '#88a4e0',
    500: '#4780d2',
    950: '#000000',
  },
}
SCSS
$custom: #4780d2;
$custom-light: #88a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4780d2",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 210
  },
  "hsl": {
    "h": 215.396,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60042,
    "c": 0.13929,
    "h": 257.6
  },
  "luminance": 0.21431
}

Semantic roles & 50–950 ramp

primary
#4780D2
secondary
#D8C09D
accent
#A244E4
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4780D2

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

Preview Lab → · Contrast checker → · Palette generator →

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