#4876F4#4876F4

#4876F4 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.2% C 0.196 H 265.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4876F4
RGBrgb(72, 118, 244)
HSLhsl(224, 89%, 62%)
HSVhsv(224, 70%, 96%)
CMYKcmyk(70.5%, 51.6%, 0%, 4.3%)
CIE-LABlab(52.80, 25.82, -67.86)
CIE-LCHlch(52.80, 72.60, 290.83°)
OKLaboklab(60.24% -0.0148 -0.1952)
OKLCHoklch(60.24% 0.196 265.7)
XYZxyz(25.4743, 20.8636, 88.2549)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876F4 #F4C648
analogous
#48CCF4 #4876F4 #7048F4
triadic
#4876F4 #F44876 #76F448
tetradic
#4876F4 #F448CC #F4C648 #48F470
square
#4876F4 #F448CC #F4C648 #48F470
split-complementary
#4876F4 #F47048 #CCF448
monochromatic
#0B39B7 #0E4BF0 #4876F4 #82A1F7 #BBCCFB

Accessibility & contrast

On white

4.06
#4876F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4876F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876F4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876F4#FFFFFF#000000##000000
##4876F41.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2186F8
Deuteranopia (green-blind)
#0077F1
Tritanopia (blue-blind)
#0094AA
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4876f4;
/* rgb */ color: rgb(72, 118, 244);
/* oklch */ color: oklch(60.2% 0.196 265.7);
Tailwind
colors: {
  custom: {
    50: '#8f9cf9',
    500: '#4876f4',
    950: '#000000',
  },
}
SCSS
$custom: #4876f4;
$custom-light: #8f9cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#4876f4",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 244
  },
  "hsl": {
    "h": 223.953,
    "s": 88.66,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60239,
    "c": 0.19572,
    "h": 265.7
  },
  "luminance": 0.20866
}

Semantic roles & 50–950 ramp

primary
#4876F4
secondary
#ECDBAC
accent
#A800E5
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4876F4

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

Preview Lab → · Contrast checker → · Palette generator →

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