#4877CE#4877CE

#4877CE is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.9% C 0.144 H 261.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4877CE
RGBrgb(72, 119, 206)
HSLhsl(219, 58%, 55%)
HSVhsv(219, 65%, 81%)
CMYKcmyk(65%, 42.2%, 0%, 19.2%)
CIE-LABlab(50.72, 11.82, -49.82)
CIE-LCHlch(50.72, 51.21, 283.35°)
OKLaboklab(57.89% -0.021 -0.1421)
OKLCHoklch(57.89% 0.144 261.6)
XYZxyz(20.4060, 19.0256, 60.9775)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877CE #CE9F48
analogous
#48BACE #4877CE #5C48CE
triadic
#4877CE #CE4877 #77CE48
tetradic
#4877CE #CE48BA #CE9F48 #48CE5C
square
#4877CE #CE48BA #CE9F48 #48CE5C
split-complementary
#4877CE #CE5C48 #BACE48
monochromatic
#21407B #2E5AAB #4877CE #789BDB #A9BFE8

Accessibility & contrast

On white

4.37
#4877CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4877CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877CE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877CE#FFFFFF#000000##000000
##4877CE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4877ce;
/* rgb */ color: rgb(72, 119, 206);
/* oklch */ color: oklch(57.9% 0.144 261.6);
Tailwind
colors: {
  custom: {
    50: '#889ddd',
    500: '#4877ce',
    950: '#000000',
  },
}
SCSS
$custom: #4877ce;
$custom-light: #889ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#4877ce",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 206
  },
  "hsl": {
    "h": 218.955,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57891,
    "c": 0.14365,
    "h": 261.6
  },
  "luminance": 0.19028
}

Semantic roles & 50–950 ramp

primary
#4877CE
secondary
#D5C19D
accent
#AB47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4877CE

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

Preview Lab → · Contrast checker → · Palette generator →

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