#4877BD#4877BD

#4877BD is a mid, vivid blue. Relative luminance 0.182; OKLCH L 56.9% C 0.120 H 258.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4877BD
RGBrgb(72, 119, 189)
HSLhsl(216, 47%, 51%)
HSVhsv(216, 62%, 74%)
CMYKcmyk(61.9%, 37%, 0%, 25.9%)
CIE-LABlab(49.79, 5.93, -41.57)
CIE-LCHlch(49.79, 41.99, 278.12°)
OKLaboklab(56.87% -0.0247 -0.1179)
OKLCHoklch(56.87% 0.12 258.2)
XYZxyz(18.4514, 18.2438, 50.6833)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877BD #BD8E48
analogous
#48B2BD #4877BD #5348BD
triadic
#4877BD #BD4877 #77BD48
tetradic
#4877BD #BD48B2 #BD8E48 #48BD53
square
#4877BD #BD48B2 #BD8E48 #48BD53
split-complementary
#4877BD #BD5348 #B2BD48
monochromatic
#253F66 #355B93 #4877BD #7598CD #A2BADD

Accessibility & contrast

On white

4.52
#4877BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4877BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877BD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877BD#FFFFFF#000000##000000
##4877BD1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CC0
Deuteranopia (green-blind)
#4971BC
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4877bd;
/* rgb */ color: rgb(72, 119, 189);
/* oklch */ color: oklch(56.9% 0.120 258.2);
Tailwind
colors: {
  custom: {
    50: '#859dd1',
    500: '#4877bd',
    950: '#000000',
  },
}
SCSS
$custom: #4877bd;
$custom-light: #859dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4877bd",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 189
  },
  "hsl": {
    "h": 215.897,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56872,
    "c": 0.12048,
    "h": 258.2
  },
  "luminance": 0.18245
}

Semantic roles & 50–950 ramp

primary
#4877BD
secondary
#CAB597
accent
#A151D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4877BD

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

Preview Lab → · Contrast checker → · Palette generator →

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