#4877D2#4877D2

#4877D2 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.1% C 0.149 H 262.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4877D2
RGBrgb(72, 119, 210)
HSLhsl(220, 61%, 55%)
HSVhsv(220, 66%, 82%)
CMYKcmyk(65.7%, 43.3%, 0%, 17.6%)
CIE-LABlab(50.95, 13.22, -51.73)
CIE-LCHlch(50.95, 53.39, 284.33°)
OKLaboklab(58.14% -0.0202 -0.1477)
OKLCHoklch(58.14% 0.149 262.2)
XYZxyz(20.8981, 19.2225, 63.5693)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877D2 #D2A348
analogous
#48BCD2 #4877D2 #5E48D2
triadic
#4877D2 #D24877 #77D248
tetradic
#4877D2 #D248BC #D2A348 #48D25E
square
#4877D2 #D248BC #D2A348 #48D25E
split-complementary
#4877D2 #D25E48 #BCD248
monochromatic
#204080 #2C59B1 #4877D2 #799CDE #AAC0EA

Accessibility & contrast

On white

4.33
#4877D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4877D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877D2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877D2#FFFFFF#000000##000000
##4877D21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C80D5
Deuteranopia (green-blind)
#3573D0
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4877d2;
/* rgb */ color: rgb(72, 119, 210);
/* oklch */ color: oklch(58.1% 0.149 262.2);
Tailwind
colors: {
  custom: {
    50: '#899de0',
    500: '#4877d2',
    950: '#000000',
  },
}
SCSS
$custom: #4877d2;
$custom-light: #899de0;
$custom-dark: #000000;
JSON
{
  "hex": "#4877d2",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 210
  },
  "hsl": {
    "h": 219.565,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58143,
    "c": 0.1491,
    "h": 262.2
  },
  "luminance": 0.19225
}

Semantic roles & 50–950 ramp

primary
#4877D2
secondary
#D8C49E
accent
#AD44E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4877D2

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

Preview Lab → · Contrast checker → · Palette generator →

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