#4877E6#4877E6

#4877E6 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.5% C 0.176 H 264.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4877E6
RGBrgb(72, 119, 230)
HSLhsl(222, 76%, 59%)
HSVhsv(222, 69%, 90%)
CMYKcmyk(68.7%, 48.3%, 0%, 9.8%)
CIE-LABlab(52.15, 20.26, -61.08)
CIE-LCHlch(52.15, 64.35, 288.35°)
OKLaboklab(59.46% -0.0171 -0.1752)
OKLCHoklch(59.46% 0.176 264.4)
XYZxyz(23.5472, 20.2822, 77.5215)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877E6 #E6B748
analogous
#48C6E6 #4877E6 #6848E6
triadic
#4877E6 #E64877 #77E648
tetradic
#4877E6 #E648C6 #E6B748 #48E668
square
#4877E6 #E648C6 #E6B748 #48E668
split-complementary
#4877E6 #E66848 #C6E648
monochromatic
#163E9E #1D53D4 #4877E6 #7E9FED #B4C7F5

Accessibility & contrast

On white

4.15
#4877E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4877E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877E6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877E6#FFFFFF#000000##000000
##4877E61.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A84EA
Deuteranopia (green-blind)
#0776E4
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4877e6;
/* rgb */ color: rgb(72, 119, 230);
/* oklch */ color: oklch(59.5% 0.176 264.4);
Tailwind
colors: {
  custom: {
    50: '#8c9def',
    500: '#4877e6',
    950: '#000000',
  },
}
SCSS
$custom: #4877e6;
$custom-light: #8c9def;
$custom-dark: #000000;
JSON
{
  "hex": "#4877e6",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 230
  },
  "hsl": {
    "h": 222.152,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59458,
    "c": 0.17603,
    "h": 264.4
  },
  "luminance": 0.20285
}

Semantic roles & 50–950 ramp

primary
#4877E6
secondary
#E4D1A6
accent
#BA35F3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4877E6

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

Preview Lab → · Contrast checker → · Palette generator →

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