#4877BB#4877BB

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

Color values

HEX#4877BB
RGBrgb(72, 119, 187)
HSLhsl(215, 46%, 51%)
HSVhsv(215, 61%, 73%)
CMYKcmyk(61.5%, 36.4%, 0%, 26.7%)
CIE-LABlab(49.69, 5.25, -40.58)
CIE-LCHlch(49.69, 40.92, 277.37°)
OKLaboklab(56.76% -0.0252 -0.115)
OKLCHoklch(56.76% 0.118 257.7)
XYZxyz(18.2358, 18.1576, 49.5478)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877BB #BB8C48
analogous
#48B1BB #4877BB #5248BB
triadic
#4877BB #BB4877 #77BB48
tetradic
#4877BB #BB48B1 #BB8C48 #48BB52
square
#4877BB #BB48B1 #BB8C48 #48BB52
split-complementary
#4877BB #BB5248 #B1BB48
monochromatic
#253F64 #365B90 #4877BB #7598CC #A1B9DC

Accessibility & contrast

On white

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

On black

4.63
#4877BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877BB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877BB#FFFFFF#000000##000000
##4877BB1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#008690
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4877bb;
/* rgb */ color: rgb(72, 119, 187);
/* oklch */ color: oklch(56.8% 0.118 257.7);
Tailwind
colors: {
  custom: {
    50: '#859dd0',
    500: '#4877bb',
    950: '#000000',
  },
}
SCSS
$custom: #4877bb;
$custom-light: #859dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4877bb",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 215.478,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56757,
    "c": 0.11776,
    "h": 257.7
  },
  "luminance": 0.18159
}

Semantic roles & 50–950 ramp

primary
#4877BB
secondary
#C9B496
accent
#A052D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4877BB

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

Preview Lab → · Contrast checker → · Palette generator →

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