#4877DA#4877DA

#4877DA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.7% C 0.160 H 263.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4877DA
RGBrgb(72, 119, 218)
HSLhsl(221, 66%, 57%)
HSVhsv(221, 67%, 85%)
CMYKcmyk(67%, 45.4%, 0%, 14.5%)
CIE-LABlab(51.42, 16.03, -55.51)
CIE-LCHlch(51.42, 57.78, 286.11°)
OKLaboklab(58.66% -0.0188 -0.1588)
OKLCHoklch(58.66% 0.16 263.2)
XYZxyz(21.9197, 19.6312, 68.9501)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877DA #DAAB48
analogous
#48C0DA #4877DA #6248DA
triadic
#4877DA #DA4877 #77DA48
tetradic
#4877DA #DA48C0 #DAAB48 #48DA62
square
#4877DA #DA48C0 #DAAB48 #48DA62
split-complementary
#4877DA #DA6248 #C0DA48
monochromatic
#1C408B #2657BE #4877DA #7B9DE4 #AEC3EF

Accessibility & contrast

On white

4.26
#4877DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4877DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877DA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877DA#FFFFFF#000000##000000
##4877DA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DE
Deuteranopia (green-blind)
#2A74D8
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4877da;
/* rgb */ color: rgb(72, 119, 218);
/* oklch */ color: oklch(58.7% 0.160 263.2);
Tailwind
colors: {
  custom: {
    50: '#8a9de6',
    500: '#4877da',
    950: '#000000',
  },
}
SCSS
$custom: #4877da;
$custom-light: #8a9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#4877da",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 218
  },
  "hsl": {
    "h": 220.685,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58657,
    "c": 0.15993,
    "h": 263.2
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#4877DA
secondary
#DDCAA1
accent
#B23FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4877DA

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

Preview Lab → · Contrast checker → · Palette generator →

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