#4877BA#4877BA

#4877BA is a mid, moderate blue. Relative luminance 0.181; OKLCH L 56.7% C 0.116 H 257.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4877BA
RGBrgb(72, 119, 186)
HSLhsl(215, 45%, 51%)
HSVhsv(215, 61%, 73%)
CMYKcmyk(61.3%, 36%, 0%, 27.1%)
CIE-LABlab(49.64, 4.91, -40.09)
CIE-LCHlch(49.64, 40.39, 276.98°)
OKLaboklab(56.7% -0.0254 -0.1136)
OKLCHoklch(56.7% 0.116 257.4)
XYZxyz(18.1291, 18.1149, 48.9860)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877BA #BA8B48
analogous
#48B0BA #4877BA #5248BA
triadic
#4877BA #BA4877 #77BA48
tetradic
#4877BA #BA48B0 #BA8B48 #48BA52
square
#4877BA #BA48B0 #BA8B48 #48BA52
split-complementary
#4877BA #BA5248 #B0BA48
monochromatic
#253E62 #365B8F #4877BA #7498CB #A1B9DC

Accessibility & contrast

On white

4.54
#4877BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4877BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877BA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877BA#FFFFFF#000000##000000
##4877BA1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4877ba;
/* rgb */ color: rgb(72, 119, 186);
/* oklch */ color: oklch(56.7% 0.116 257.4);
Tailwind
colors: {
  custom: {
    50: '#859dcf',
    500: '#4877ba',
    950: '#000000',
  },
}
SCSS
$custom: #4877ba;
$custom-light: #859dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4877ba",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 186
  },
  "hsl": {
    "h": 215.263,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.567,
    "c": 0.1164,
    "h": 257.4
  },
  "luminance": 0.18117
}

Semantic roles & 50–950 ramp

primary
#4877BA
secondary
#C8B396
accent
#9F53D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4877BA

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

Preview Lab → · Contrast checker → · Palette generator →

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