#4877DD#4877DD

#4877DD is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.9% C 0.164 H 263.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4877DD
RGBrgb(72, 119, 221)
HSLhsl(221, 69%, 57%)
HSVhsv(221, 67%, 87%)
CMYKcmyk(67.4%, 46.2%, 0%, 13.3%)
CIE-LABlab(51.60, 17.08, -56.91)
CIE-LCHlch(51.60, 59.42, 286.71°)
OKLaboklab(58.85% -0.0184 -0.1629)
OKLCHoklch(58.85% 0.164 263.6)
XYZxyz(22.3159, 19.7896, 71.0363)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877DD #DDAE48
analogous
#48C1DD #4877DD #6448DD
triadic
#4877DD #DD4877 #77DD48
tetradic
#4877DD #DD48C1 #DDAE48 #48DD64
square
#4877DD #DD48C1 #DDAE48 #48DD64
split-complementary
#4877DD #DD6448 #C1DD48
monochromatic
#1B4090 #2457C3 #4877DD #7C9DE7 #AFC4F0

Accessibility & contrast

On white

4.24
#4877DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4877DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877DD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877DD#FFFFFF#000000##000000
##4877DD1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E1
Deuteranopia (green-blind)
#2475DB
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4877dd;
/* rgb */ color: rgb(72, 119, 221);
/* oklch */ color: oklch(58.9% 0.164 263.6);
Tailwind
colors: {
  custom: {
    50: '#8b9de8',
    500: '#4877dd',
    950: '#000000',
  },
}
SCSS
$custom: #4877dd;
$custom-light: #8b9de8;
$custom-dark: #000000;
JSON
{
  "hex": "#4877dd",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 221.074,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58854,
    "c": 0.16397,
    "h": 263.6
  },
  "luminance": 0.19792
}

Semantic roles & 50–950 ramp

primary
#4877DD
secondary
#DECCA2
accent
#B43CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4877DD

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

Preview Lab → · Contrast checker → · Palette generator →

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