#4780D4#4780D4

#4780D4 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.2% C 0.142 H 258.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4780D4
RGBrgb(71, 128, 212)
HSLhsl(216, 62%, 55%)
HSVhsv(216, 67%, 83%)
CMYKcmyk(66.5%, 39.6%, 0%, 16.9%)
CIE-LABlab(53.52, 8.24, -48.76)
CIE-LCHlch(53.52, 49.45, 279.59°)
OKLaboklab(60.16% -0.0294 -0.1389)
OKLCHoklch(60.16% 0.142 258.1)
XYZxyz(22.1971, 21.5292, 65.2603)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4780D4 #D49B47
analogous
#47C6D4 #4780D4 #5447D4
triadic
#4780D4 #D44780 #80D447
tetradic
#4780D4 #D447C6 #D49B47 #47D454
square
#4780D4 #D447C6 #D49B47 #47D454
split-complementary
#4780D4 #D45447 #C6D447
monochromatic
#1E4782 #2A62B4 #4780D4 #79A2E0 #AAC4EB

Accessibility & contrast

On white

3.96
#4780D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4780D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4780D4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4780D4#FFFFFF#000000##000000
##4780D41.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A87D7
Deuteranopia (green-blind)
#457AD2
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4780d4;
/* rgb */ color: rgb(71, 128, 212);
/* oklch */ color: oklch(60.2% 0.142 258.1);
Tailwind
colors: {
  custom: {
    50: '#88a4e1',
    500: '#4780d4',
    950: '#000000',
  },
}
SCSS
$custom: #4780d4;
$custom-light: #88a4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4780d4",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 212
  },
  "hsl": {
    "h": 215.745,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60161,
    "c": 0.14195,
    "h": 258.1
  },
  "luminance": 0.21531
}

Semantic roles & 50–950 ramp

primary
#4780D4
secondary
#D9C19E
accent
#A343E5
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4780D4

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

Preview Lab → · Contrast checker → · Palette generator →

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