#4877D7#4877D7

#4877D7 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.5% C 0.156 H 262.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4877D7
RGBrgb(72, 119, 215)
HSLhsl(220, 64%, 56%)
HSVhsv(220, 67%, 84%)
CMYKcmyk(66.5%, 44.7%, 0%, 15.7%)
CIE-LABlab(51.24, 14.97, -54.10)
CIE-LCHlch(51.24, 56.13, 285.47°)
OKLaboklab(58.46% -0.0193 -0.1547)
OKLCHoklch(58.46% 0.156 262.9)
XYZxyz(21.5307, 19.4756, 66.9013)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877D7 #D7A848
analogous
#48BFD7 #4877D7 #6148D7
triadic
#4877D7 #D74877 #77D748
tetradic
#4877D7 #D748BF #D7A848 #48D761
square
#4877D7 #D748BF #D7A848 #48D761
split-complementary
#4877D7 #D76148 #BFD748
monochromatic
#1E4087 #2958B9 #4877D7 #7A9CE2 #ACC2ED

Accessibility & contrast

On white

4.29
#4877D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4877D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877D7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877D7#FFFFFF#000000##000000
##4877D71.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4881DB
Deuteranopia (green-blind)
#2E74D5
Tritanopia (blue-blind)
#008D9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4877d7;
/* rgb */ color: rgb(72, 119, 215);
/* oklch */ color: oklch(58.5% 0.156 262.9);
Tailwind
colors: {
  custom: {
    50: '#8a9de4',
    500: '#4877d7',
    950: '#000000',
  },
}
SCSS
$custom: #4877d7;
$custom-light: #8a9de4;
$custom-dark: #000000;
JSON
{
  "hex": "#4877d7",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 215
  },
  "hsl": {
    "h": 220.28,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58462,
    "c": 0.15587,
    "h": 262.9
  },
  "luminance": 0.19478
}

Semantic roles & 50–950 ramp

primary
#4877D7
secondary
#DBC7A0
accent
#B041E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #4877D7

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

Preview Lab → · Contrast checker → · Palette generator →

#4877D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva