#4876E5#4876E5

#4876E5 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.2% C 0.176 H 264.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4876E5
RGBrgb(72, 118, 229)
HSLhsl(222, 75%, 59%)
HSVhsv(222, 69%, 90%)
CMYKcmyk(68.6%, 48.5%, 0%, 10.2%)
CIE-LABlab(51.83, 20.53, -61.05)
CIE-LCHlch(51.83, 64.41, 288.58°)
OKLaboklab(59.19% -0.0164 -0.1751)
OKLCHoklch(59.19% 0.176 264.7)
XYZxyz(23.2888, 19.9894, 76.7445)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876E5 #E5B748
analogous
#48C5E5 #4876E5 #6948E5
triadic
#4876E5 #E54876 #76E548
tetradic
#4876E5 #E548C5 #E5B748 #48E569
square
#4876E5 #E548C5 #E5B748 #48E569
split-complementary
#4876E5 #E56948 #C5E548
monochromatic
#163E9C #1E53D2 #4876E5 #7E9EED #B3C6F4

Accessibility & contrast

On white

4.20
#4876E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4876E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876E5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876E5#FFFFFF#000000##000000
##4876E51.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3883E9
Deuteranopia (green-blind)
#0475E3
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4876e5;
/* rgb */ color: rgb(72, 118, 229);
/* oklch */ color: oklch(59.2% 0.176 264.7);
Tailwind
colors: {
  custom: {
    50: '#8c9cee',
    500: '#4876e5',
    950: '#000000',
  },
}
SCSS
$custom: #4876e5;
$custom-light: #8c9cee;
$custom-dark: #000000;
JSON
{
  "hex": "#4876e5",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 229
  },
  "hsl": {
    "h": 222.42,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59186,
    "c": 0.17589,
    "h": 264.7
  },
  "luminance": 0.19992
}

Semantic roles & 50–950 ramp

primary
#4876E5
secondary
#E3D1A6
accent
#BB36F2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4876E5

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

Preview Lab → · Contrast checker → · Palette generator →

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