#4876D8#4876D8

#4876D8 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.3% C 0.158 H 263.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4876D8
RGBrgb(72, 118, 216)
HSLhsl(221, 65%, 56%)
HSVhsv(221, 67%, 85%)
CMYKcmyk(66.7%, 45.4%, 0%, 15.3%)
CIE-LABlab(51.03, 15.94, -55.01)
CIE-LCHlch(51.03, 57.27, 286.16°)
OKLaboklab(58.32% -0.0182 -0.1574)
OKLCHoklch(58.32% 0.158 263.4)
XYZxyz(21.5412, 19.2903, 67.5406)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876D8 #D8AA48
analogous
#48BED8 #4876D8 #6248D8
triadic
#4876D8 #D84876 #76D848
tetradic
#4876D8 #D848BE #D8AA48 #48D862
square
#4876D8 #D848BE #D8AA48 #48D862
split-complementary
#4876D8 #D86248 #BED848
monochromatic
#1D3F89 #2857BB #4876D8 #7A9CE3 #ADC2EE

Accessibility & contrast

On white

4.32
#4876D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4876D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876D8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876D8#FFFFFF#000000##000000
##4876D81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4581DC
Deuteranopia (green-blind)
#2A73D6
Tritanopia (blue-blind)
#008D9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4876d8;
/* rgb */ color: rgb(72, 118, 216);
/* oklch */ color: oklch(58.3% 0.158 263.4);
Tailwind
colors: {
  custom: {
    50: '#8a9de5',
    500: '#4876d8',
    950: '#000000',
  },
}
SCSS
$custom: #4876d8;
$custom-light: #8a9de5;
$custom-dark: #000000;
JSON
{
  "hex": "#4876d8",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 216
  },
  "hsl": {
    "h": 220.833,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58317,
    "c": 0.15841,
    "h": 263.4
  },
  "luminance": 0.19292
}

Semantic roles & 50–950 ramp

primary
#4876D8
secondary
#DBC9A0
accent
#B240E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4876D8

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

Preview Lab → · Contrast checker → · Palette generator →

#4876D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva