#4877E5#4877E5

#4877E5 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.4% C 0.175 H 264.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4877E5
RGBrgb(72, 119, 229)
HSLhsl(222, 75%, 59%)
HSVhsv(222, 69%, 90%)
CMYKcmyk(68.6%, 48%, 0%, 10.2%)
CIE-LABlab(52.09, 19.91, -60.62)
CIE-LCHlch(52.09, 63.80, 288.18°)
OKLaboklab(59.39% -0.0173 -0.1738)
OKLCHoklch(59.39% 0.175 264.3)
XYZxyz(23.4072, 20.2261, 76.7840)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877E5 #E5B648
analogous
#48C6E5 #4877E5 #6848E5
triadic
#4877E5 #E54877 #77E548
tetradic
#4877E5 #E548C6 #E5B648 #48E568
square
#4877E5 #E548C6 #E5B648 #48E568
split-complementary
#4877E5 #E56848 #C6E548
monochromatic
#163E9C #1E54D2 #4877E5 #7E9FED #B3C7F4

Accessibility & contrast

On white

4.16
#4877E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4877E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877E5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877E5#FFFFFF#000000##000000
##4877E51.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B84E9
Deuteranopia (green-blind)
#0D75E3
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4877e5;
/* rgb */ color: rgb(72, 119, 229);
/* oklch */ color: oklch(59.4% 0.175 264.3);
Tailwind
colors: {
  custom: {
    50: '#8c9dee',
    500: '#4877e5',
    950: '#000000',
  },
}
SCSS
$custom: #4877e5;
$custom-light: #8c9dee;
$custom-dark: #000000;
JSON
{
  "hex": "#4877e5",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 229
  },
  "hsl": {
    "h": 222.038,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5939,
    "c": 0.1747,
    "h": 264.3
  },
  "luminance": 0.20229
}

Semantic roles & 50–950 ramp

primary
#4877E5
secondary
#E3D1A6
accent
#BA36F2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4877E5

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

Preview Lab → · Contrast checker → · Palette generator →

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