#4877DB#4877DB

#4877DB is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.7% C 0.161 H 263.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4877DB
RGBrgb(72, 119, 219)
HSLhsl(221, 67%, 57%)
HSVhsv(221, 67%, 86%)
CMYKcmyk(67.1%, 45.7%, 0%, 14.1%)
CIE-LABlab(51.48, 16.38, -55.98)
CIE-LCHlch(51.48, 58.33, 286.31°)
OKLaboklab(58.72% -0.0187 -0.1602)
OKLCHoklch(58.72% 0.161 263.3)
XYZxyz(22.0510, 19.6837, 69.6413)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877DB #DBAC48
analogous
#48C1DB #4877DB #6348DB
triadic
#4877DB #DB4877 #77DB48
tetradic
#4877DB #DB48C1 #DBAC48 #48DB63
square
#4877DB #DB48C1 #DBAC48 #48DB63
split-complementary
#4877DB #DB6348 #C1DB48
monochromatic
#1C408D #2657C0 #4877DB #7B9DE5 #AEC3EF

Accessibility & contrast

On white

4.25
#4877DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4877DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877DB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877DB#FFFFFF#000000##000000
##4877DB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582DF
Deuteranopia (green-blind)
#2874D9
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4877db;
/* rgb */ color: rgb(72, 119, 219);
/* oklch */ color: oklch(58.7% 0.161 263.3);
Tailwind
colors: {
  custom: {
    50: '#8a9de7',
    500: '#4877db',
    950: '#000000',
  },
}
SCSS
$custom: #4877db;
$custom-light: #8a9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#4877db",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 220.816,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58722,
    "c": 0.16129,
    "h": 263.3
  },
  "luminance": 0.19686
}

Semantic roles & 50–950 ramp

primary
#4877DB
secondary
#DDCAA2
accent
#B33EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4877DB

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

Preview Lab → · Contrast checker → · Palette generator →

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