#4878C7#4878C7

#4878C7 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.7% C 0.133 H 259.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4878C7
RGBrgb(72, 120, 199)
HSLhsl(217, 53%, 53%)
HSVhsv(217, 64%, 78%)
CMYKcmyk(63.8%, 39.7%, 0%, 22%)
CIE-LABlab(50.61, 8.77, -46.01)
CIE-LCHlch(50.61, 46.83, 280.79°)
OKLaboklab(57.68% -0.0234 -0.1309)
OKLCHoklch(57.68% 0.133 259.9)
XYZxyz(19.6941, 18.9323, 56.6382)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4878C7 #C79748
analogous
#48B7C7 #4878C7 #5748C7
triadic
#4878C7 #C74878 #78C748
tetradic
#4878C7 #C748B7 #C79748 #48C757
square
#4878C7 #C748B7 #C79748 #48C757
split-complementary
#4878C7 #C75748 #B7C748
monochromatic
#234172 #315BA1 #4878C7 #779BD5 #A6BDE4

Accessibility & contrast

On white

4.39
#4878C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4878C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4878C7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4878C7#FFFFFF#000000##000000
##4878C71.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCA
Deuteranopia (green-blind)
#4273C5
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4878c7;
/* rgb */ color: rgb(72, 120, 199);
/* oklch */ color: oklch(57.7% 0.133 259.9);
Tailwind
colors: {
  custom: {
    50: '#879ed8',
    500: '#4878c7',
    950: '#000000',
  },
}
SCSS
$custom: #4878c7;
$custom-light: #879ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#4878c7",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 199
  },
  "hsl": {
    "h": 217.323,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5768,
    "c": 0.13298,
    "h": 259.9
  },
  "luminance": 0.18934
}

Semantic roles & 50–950 ramp

primary
#4878C7
secondary
#D1BC9A
accent
#A64BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4878C7

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

Preview Lab → · Contrast checker → · Palette generator →

#4878C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva