#4877CC#4877CC

#4877CC is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.8% C 0.141 H 261.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4877CC
RGBrgb(72, 119, 204)
HSLhsl(219, 56%, 54%)
HSVhsv(219, 65%, 80%)
CMYKcmyk(64.7%, 41.7%, 0%, 20%)
CIE-LABlab(50.60, 11.12, -48.87)
CIE-LCHlch(50.60, 50.12, 282.82°)
OKLaboklab(57.77% -0.0214 -0.1393)
OKLCHoklch(57.77% 0.141 261.3)
XYZxyz(20.1645, 18.9291, 59.7060)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877CC #CC9D48
analogous
#48B9CC #4877CC #5B48CC
triadic
#4877CC #CC4877 #77CC48
tetradic
#4877CC #CC48B9 #CC9D48 #48CC5B
square
#4877CC #CC48B9 #CC9D48 #48CC5B
split-complementary
#4877CC #CC5B48 #B9CC48
monochromatic
#214078 #2F5AA8 #4877CC #789BD9 #A8BEE7

Accessibility & contrast

On white

4.39
#4877CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4877CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877CC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877CC#FFFFFF#000000##000000
##4877CC1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCF
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4877cc;
/* rgb */ color: rgb(72, 119, 204);
/* oklch */ color: oklch(57.8% 0.141 261.3);
Tailwind
colors: {
  custom: {
    50: '#889ddc',
    500: '#4877cc',
    950: '#000000',
  },
}
SCSS
$custom: #4877cc;
$custom-light: #889ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#4877cc",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 218.636,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57767,
    "c": 0.14093,
    "h": 261.3
  },
  "luminance": 0.18931
}

Semantic roles & 50–950 ramp

primary
#4877CC
secondary
#D4C09C
accent
#AA48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4877CC

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

Preview Lab → · Contrast checker → · Palette generator →

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