#4878DA#4878DA

#4878DA is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.9% C 0.159 H 262.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4878DA
RGBrgb(72, 120, 218)
HSLhsl(220, 66%, 57%)
HSVhsv(220, 67%, 85%)
CMYKcmyk(67%, 45%, 0%, 14.5%)
CIE-LABlab(51.69, 15.41, -55.07)
CIE-LCHlch(51.69, 57.19, 285.63°)
OKLaboklab(58.87% -0.0198 -0.1575)
OKLCHoklch(58.87% 0.159 262.8)
XYZxyz(22.0394, 19.8704, 68.9900)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4878DA #DAAA48
analogous
#48C1DA #4878DA #6148DA
triadic
#4878DA #DA4878 #78DA48
tetradic
#4878DA #DA48C1 #DAAA48 #48DA61
square
#4878DA #DA48C1 #DAAA48 #48DA61
split-complementary
#4878DA #DA6148 #C1DA48
monochromatic
#1C418B #2658BE #4878DA #7B9EE4 #AEC3EF

Accessibility & contrast

On white

4.22
#4878DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4878DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4878DA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4878DA#FFFFFF#000000##000000
##4878DA1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4882DE
Deuteranopia (green-blind)
#2C75D8
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4878da;
/* rgb */ color: rgb(72, 120, 218);
/* oklch */ color: oklch(58.9% 0.159 262.8);
Tailwind
colors: {
  custom: {
    50: '#8a9ee6',
    500: '#4878da',
    950: '#000000',
  },
}
SCSS
$custom: #4878da;
$custom-light: #8a9ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#4878da",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 220.274,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58867,
    "c": 0.15876,
    "h": 262.8
  },
  "luminance": 0.19873
}

Semantic roles & 50–950 ramp

primary
#4878DA
secondary
#DDC9A1
accent
#B13FE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4878DA

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

Preview Lab → · Contrast checker → · Palette generator →

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