#4876DC#4876DC

#4876DC is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.6% C 0.164 H 263.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4876DC
RGBrgb(72, 118, 220)
HSLhsl(221, 68%, 57%)
HSVhsv(221, 67%, 86%)
CMYKcmyk(67.3%, 46.4%, 0%, 13.7%)
CIE-LABlab(51.27, 17.35, -56.88)
CIE-LCHlch(51.27, 59.47, 286.97°)
OKLaboklab(58.58% -0.0176 -0.1629)
OKLCHoklch(58.58% 0.164 263.8)
XYZxyz(22.0646, 19.4997, 70.2973)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876DC #DCAE48
analogous
#48C0DC #4876DC #6448DC
triadic
#4876DC #DC4876 #76DC48
tetradic
#4876DC #DC48C0 #DCAE48 #48DC64
square
#4876DC #DC48C0 #DCAE48 #48DC64
split-complementary
#4876DC #DC6448 #C0DC48
monochromatic
#1B3F8E #2556C2 #4876DC #7B9CE6 #AFC3F0

Accessibility & contrast

On white

4.29
#4876DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4876DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876DC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876DC#FFFFFF#000000##000000
##4876DC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281E0
Deuteranopia (green-blind)
#2374DA
Tritanopia (blue-blind)
#008E9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4876dc;
/* rgb */ color: rgb(72, 118, 220);
/* oklch */ color: oklch(58.6% 0.164 263.8);
Tailwind
colors: {
  custom: {
    50: '#8a9ce7',
    500: '#4876dc',
    950: '#000000',
  },
}
SCSS
$custom: #4876dc;
$custom-light: #8a9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#4876dc",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 221.351,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5858,
    "c": 0.16382,
    "h": 263.8
  },
  "luminance": 0.19502
}

Semantic roles & 50–950 ramp

primary
#4876DC
secondary
#DECBA2
accent
#B53DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4876DC

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

Preview Lab → · Contrast checker → · Palette generator →

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