#4877CB#4877CB

#4877CB is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.7% C 0.140 H 261.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4877CB
RGBrgb(72, 119, 203)
HSLhsl(218, 56%, 54%)
HSVhsv(218, 65%, 80%)
CMYKcmyk(64.5%, 41.4%, 0%, 20.4%)
CIE-LABlab(50.55, 10.77, -48.38)
CIE-LCHlch(50.55, 49.57, 282.55°)
OKLaboklab(57.71% -0.0216 -0.1379)
OKLCHoklch(57.71% 0.14 261.1)
XYZxyz(20.0450, 18.8813, 59.0764)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877CB #CB9C48
analogous
#48B9CB #4877CB #5B48CB
triadic
#4877CB #CB4877 #77CB48
tetradic
#4877CB #CB48B9 #CB9C48 #48CB5B
square
#4877CB #CB48B9 #CB9C48 #48CB5B
split-complementary
#4877CB #CB5B48 #B9CB48
monochromatic
#224077 #2F5AA6 #4877CB #789AD9 #A7BEE6

Accessibility & contrast

On white

4.40
#4877CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4877CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877CB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877CB#FFFFFF#000000##000000
##4877CB1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4877cb;
/* rgb */ color: rgb(72, 119, 203);
/* oklch */ color: oklch(57.7% 0.140 261.1);
Tailwind
colors: {
  custom: {
    50: '#889ddb',
    500: '#4877cb',
    950: '#000000',
  },
}
SCSS
$custom: #4877cb;
$custom-light: #889ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4877cb",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 218.473,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57706,
    "c": 0.13957,
    "h": 261.1
  },
  "luminance": 0.18883
}

Semantic roles & 50–950 ramp

primary
#4877CB
secondary
#D3BF9B
accent
#A949DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4877CB

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

Preview Lab → · Contrast checker → · Palette generator →

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