#4877CD#4877CD

#4877CD is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.8% C 0.142 H 261.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4877CD
RGBrgb(72, 119, 205)
HSLhsl(219, 57%, 54%)
HSVhsv(219, 65%, 80%)
CMYKcmyk(64.9%, 42%, 0%, 19.6%)
CIE-LABlab(50.66, 11.47, -49.35)
CIE-LCHlch(50.66, 50.66, 283.09°)
OKLaboklab(57.83% -0.0212 -0.1407)
OKLCHoklch(57.83% 0.142 261.4)
XYZxyz(20.2849, 18.9772, 60.3397)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877CD #CD9E48
analogous
#48BACD #4877CD #5C48CD
triadic
#4877CD #CD4877 #77CD48
tetradic
#4877CD #CD48BA #CD9E48 #48CD5C
square
#4877CD #CD48BA #CD9E48 #48CD5C
split-complementary
#4877CD #CD5C48 #BACD48
monochromatic
#214079 #2E5AA9 #4877CD #789BDA #A8BEE7

Accessibility & contrast

On white

4.38
#4877CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4877CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877CD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877CD#FFFFFF#000000##000000
##4877CD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD0
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4877cd;
/* rgb */ color: rgb(72, 119, 205);
/* oklch */ color: oklch(57.8% 0.142 261.4);
Tailwind
colors: {
  custom: {
    50: '#889ddd',
    500: '#4877cd',
    950: '#000000',
  },
}
SCSS
$custom: #4877cd;
$custom-light: #889ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#4877cd",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 218.797,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.14229,
    "h": 261.4
  },
  "luminance": 0.18979
}

Semantic roles & 50–950 ramp

primary
#4877CD
secondary
#D5C19C
accent
#AA47E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4877CD

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

Preview Lab → · Contrast checker → · Palette generator →

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