#4877BC#4877BC

#4877BC is a mid, moderate blue. Relative luminance 0.182; OKLCH L 56.8% C 0.119 H 257.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4877BC
RGBrgb(72, 119, 188)
HSLhsl(216, 46%, 51%)
HSVhsv(216, 62%, 74%)
CMYKcmyk(61.7%, 36.7%, 0%, 26.3%)
CIE-LABlab(49.74, 5.59, -41.08)
CIE-LCHlch(49.74, 41.45, 277.75°)
OKLaboklab(56.81% -0.0249 -0.1165)
OKLCHoklch(56.81% 0.119 257.9)
XYZxyz(18.3432, 18.2005, 50.1136)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877BC #BC8D48
analogous
#48B1BC #4877BC #5348BC
triadic
#4877BC #BC4877 #77BC48
tetradic
#4877BC #BC48B1 #BC8D48 #48BC53
square
#4877BC #BC48B1 #BC8D48 #48BC53
split-complementary
#4877BC #BC5348 #B1BC48
monochromatic
#253F65 #355B92 #4877BC #7598CC #A2BADD

Accessibility & contrast

On white

4.53
#4877BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4877BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877BC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877BC#FFFFFF#000000##000000
##4877BC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBF
Deuteranopia (green-blind)
#4A71BB
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4877bc;
/* rgb */ color: rgb(72, 119, 188);
/* oklch */ color: oklch(56.8% 0.119 257.9);
Tailwind
colors: {
  custom: {
    50: '#859dd0',
    500: '#4877bc',
    950: '#000000',
  },
}
SCSS
$custom: #4877bc;
$custom-light: #859dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4877bc",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 215.69,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56814,
    "c": 0.11912,
    "h": 257.9
  },
  "luminance": 0.18202
}

Semantic roles & 50–950 ramp

primary
#4877BC
secondary
#CAB596
accent
#A052D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4877BC

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

Preview Lab → · Contrast checker → · Palette generator →

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