#4878C8#4878C8

#4878C8 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.7% C 0.134 H 260.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4878C8
RGBrgb(72, 120, 200)
HSLhsl(218, 54%, 53%)
HSVhsv(218, 64%, 78%)
CMYKcmyk(64%, 40%, 0%, 21.6%)
CIE-LABlab(50.66, 9.12, -46.49)
CIE-LCHlch(50.66, 47.38, 281.09°)
OKLaboklab(57.74% -0.0232 -0.1323)
OKLCHoklch(57.74% 0.134 260.1)
XYZxyz(19.8106, 18.9789, 57.2517)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4878C8 #C89848
analogous
#48B8C8 #4878C8 #5848C8
triadic
#4878C8 #C84878 #78C848
tetradic
#4878C8 #C848B8 #C89848 #48C858
square
#4878C8 #C848B8 #C89848 #48C858
split-complementary
#4878C8 #C85848 #B8C848
monochromatic
#234173 #315BA2 #4878C8 #779BD6 #A6BDE4

Accessibility & contrast

On white

4.38
#4878C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4878C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4878C8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4878C8#FFFFFF#000000##000000
##4878C81.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCB
Deuteranopia (green-blind)
#4273C6
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4878c8;
/* rgb */ color: rgb(72, 120, 200);
/* oklch */ color: oklch(57.7% 0.134 260.1);
Tailwind
colors: {
  custom: {
    50: '#879ed9',
    500: '#4878c8',
    950: '#000000',
  },
}
SCSS
$custom: #4878c8;
$custom-light: #879ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4878c8",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 217.5,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5774,
    "c": 0.13434,
    "h": 260.1
  },
  "luminance": 0.18981
}

Semantic roles & 50–950 ramp

primary
#4878C8
secondary
#D1BD9A
accent
#A64BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4878C8

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

Preview Lab → · Contrast checker → · Palette generator →

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