#4878ED#4878ED

#4878ED is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.1% C 0.184 H 264.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4878ED
RGBrgb(72, 120, 237)
HSLhsl(223, 82%, 61%)
HSVhsv(223, 70%, 93%)
CMYKcmyk(69.6%, 49.4%, 0%, 7.1%)
CIE-LABlab(52.86, 22.11, -63.85)
CIE-LCHlch(52.86, 67.57, 289.10°)
OKLaboklab(60.14% -0.0171 -0.1833)
OKLCHoklch(60.14% 0.184 264.7)
XYZxyz(24.6696, 20.9225, 82.8427)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4878ED #EDBD48
analogous
#48CBED #4878ED #6A48ED
triadic
#4878ED #ED4878 #78ED48
tetradic
#4878ED #ED48CB #EDBD48 #48ED6A
square
#4878ED #ED48CB #EDBD48 #48ED6A
split-complementary
#4878ED #ED6A48 #CBED48
monochromatic
#113DAA #1651E2 #4878ED #80A1F2 #B7CAF8

Accessibility & contrast

On white

4.05
#4878ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4878ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4878ED
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4878ED#FFFFFF#000000##000000
##4878ED1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F1
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4878ed;
/* rgb */ color: rgb(72, 120, 237);
/* oklch */ color: oklch(60.1% 0.184 264.7);
Tailwind
colors: {
  custom: {
    50: '#8e9ef3',
    500: '#4878ed',
    950: '#000000',
  },
}
SCSS
$custom: #4878ed;
$custom-light: #8e9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#4878ed",
  "rgb": {
    "r": 72,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 222.545,
    "s": 82.09,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60142,
    "c": 0.18414,
    "h": 264.7
  },
  "luminance": 0.20925
}

Semantic roles & 50–950 ramp

primary
#4878ED
secondary
#E8D6A9
accent
#A007DE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4878ED

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

Preview Lab → · Contrast checker → · Palette generator →

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