#4780E2#4780E2

#4780E2 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.0% C 0.161 H 260.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4780E2
RGBrgb(71, 128, 226)
HSLhsl(218, 73%, 58%)
HSVhsv(218, 69%, 89%)
CMYKcmyk(68.6%, 43.4%, 0%, 11.4%)
CIE-LABlab(54.31, 13.15, -55.38)
CIE-LCHlch(54.31, 56.92, 283.36°)
OKLaboklab(61.02% -0.0266 -0.1583)
OKLCHoklch(61.02% 0.161 260.5)
XYZxyz(24.0403, 22.2664, 74.9677)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4780E2 #E2A947
analogous
#47CEE2 #4780E2 #5B47E2
triadic
#4780E2 #E24780 #80E247
tetradic
#4780E2 #E247CE #E2A947 #47E25B
square
#4780E2 #E247CE #E2A947 #47E25B
split-complementary
#4780E2 #E25B47 #CEE247
monochromatic
#184697 #205FCC #4780E2 #7CA4EA #B1C9F3

Accessibility & contrast

On white

3.85
#4780E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4780E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4780E2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4780E2#FFFFFF#000000##000000
##4780E21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#508AE6
Deuteranopia (green-blind)
#357BE0
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4780e2;
/* rgb */ color: rgb(71, 128, 226);
/* oklch */ color: oklch(61.0% 0.161 260.5);
Tailwind
colors: {
  custom: {
    50: '#8ba4ec',
    500: '#4780e2',
    950: '#000000',
  },
}
SCSS
$custom: #4780e2;
$custom-light: #8ba4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4780e2",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 226
  },
  "hsl": {
    "h": 217.935,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61023,
    "c": 0.16053,
    "h": 260.5
  },
  "luminance": 0.22269
}

Semantic roles & 50–950 ramp

primary
#4780E2
secondary
#E1CBA4
accent
#AC38EF
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4780E2

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

Preview Lab → · Contrast checker → · Palette generator →

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