#4877CA#4877CA

#4877CA is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.6% C 0.138 H 260.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4877CA
RGBrgb(72, 119, 202)
HSLhsl(218, 55%, 54%)
HSVhsv(218, 64%, 79%)
CMYKcmyk(64.4%, 41.1%, 0%, 20.8%)
CIE-LABlab(50.49, 10.42, -47.90)
CIE-LCHlch(50.49, 49.02, 282.28°)
OKLaboklab(57.64% -0.0218 -0.1365)
OKLCHoklch(57.64% 0.138 260.9)
XYZxyz(19.9262, 18.8338, 58.4508)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4877CA #CA9B48
analogous
#48B8CA #4877CA #5A48CA
triadic
#4877CA #CA4877 #77CA48
tetradic
#4877CA #CA48B8 #CA9B48 #48CA5A
square
#4877CA #CA48B8 #CA9B48 #48CA5A
split-complementary
#4877CA #CA5A48 #B8CA48
monochromatic
#224076 #305AA5 #4877CA #779AD8 #A7BEE5

Accessibility & contrast

On white

4.41
#4877CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4877CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4877CA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4877CA#FFFFFF#000000##000000
##4877CA1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCD
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4877ca;
/* rgb */ color: rgb(72, 119, 202);
/* oklch */ color: oklch(57.6% 0.138 260.9);
Tailwind
colors: {
  custom: {
    50: '#879dda',
    500: '#4877ca',
    950: '#000000',
  },
}
SCSS
$custom: #4877ca;
$custom-light: #879dda;
$custom-dark: #000000;
JSON
{
  "hex": "#4877ca",
  "rgb": {
    "r": 72,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 218.308,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57644,
    "c": 0.13821,
    "h": 260.9
  },
  "luminance": 0.18836
}

Semantic roles & 50–950 ramp

primary
#4877CA
secondary
#D3BF9B
accent
#A949DE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4877CA

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

Preview Lab → · Contrast checker → · Palette generator →

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