#4878CE#4878CE

#4878CE is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.1% C 0.142 H 261.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4878CE
RGBrgb(72, 120, 206)
HSLhsl(219, 58%, 55%)
HSVhsv(219, 65%, 81%)
CMYKcmyk(65%, 41.7%, 0%, 19.2%)
CIE-LABlab(51.00, 11.20, -49.38)
CIE-LCHlch(51.00, 50.64, 282.78°)
OKLaboklab(58.11% -0.022 -0.1408)
OKLCHoklch(58.11% 0.143 261.1)
XYZxyz(20.5256, 19.2649, 61.0174)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4878CE #CE9E48
analogous
#48BBCE #4878CE #5B48CE
triadic
#4878CE #CE4878 #78CE48
tetradic
#4878CE #CE48BB #CE9E48 #48CE5B
square
#4878CE #CE48BB #CE9E48 #48CE5B
split-complementary
#4878CE #CE5B48 #BBCE48
monochromatic
#21417B #2E5BAB #4878CE #789CDB #A9BFE8

Accessibility & contrast

On white

4.33
#4878CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4878CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4878CE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4878CE#FFFFFF#000000##000000
##4878CE1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D1
Deuteranopia (green-blind)
#3C74CC
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4878ce;
/* rgb */ color: rgb(72, 120, 206);
/* oklch */ color: oklch(58.1% 0.142 261.1);
Tailwind
colors: {
  custom: {
    50: '#889edd',
    500: '#4878ce',
    950: '#000000',
  },
}
SCSS
$custom: #4878ce;
$custom-light: #889edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4878ce",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 218.507,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58107,
    "c": 0.1425,
    "h": 261.1
  },
  "luminance": 0.19267
}

Semantic roles & 50–950 ramp

primary
#4878CE
secondary
#D5C19D
accent
#AA47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4878CE

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

Preview Lab → · Contrast checker → · Palette generator →

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