#4876E4#4876E4

#4876E4 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.1% C 0.175 H 264.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4876E4
RGBrgb(72, 118, 228)
HSLhsl(222, 74%, 59%)
HSVhsv(222, 68%, 89%)
CMYKcmyk(68.4%, 48.2%, 0%, 10.6%)
CIE-LABlab(51.76, 20.17, -60.59)
CIE-LCHlch(51.76, 63.86, 288.42°)
OKLaboklab(59.12% -0.0165 -0.1738)
OKLCHoklch(59.12% 0.175 264.6)
XYZxyz(23.1496, 19.9337, 76.0113)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876E4 #E4B648
analogous
#48C4E4 #4876E4 #6848E4
triadic
#4876E4 #E44876 #76E448
tetradic
#4876E4 #E448C4 #E4B648 #48E468
square
#4876E4 #E448C4 #E4B648 #48E468
split-complementary
#4876E4 #E46848 #C4E448
monochromatic
#173E9B #1F53D0 #4876E4 #7D9EEC #B3C6F4

Accessibility & contrast

On white

4.21
#4876E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4876E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876E4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876E4#FFFFFF#000000##000000
##4876E41.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A83E8
Deuteranopia (green-blind)
#0975E2
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4876e4;
/* rgb */ color: rgb(72, 118, 228);
/* oklch */ color: oklch(59.1% 0.175 264.6);
Tailwind
colors: {
  custom: {
    50: '#8c9ced',
    500: '#4876e4',
    950: '#000000',
  },
}
SCSS
$custom: #4876e4;
$custom-light: #8c9ced;
$custom-dark: #000000;
JSON
{
  "hex": "#4876e4",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 228
  },
  "hsl": {
    "h": 222.308,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59118,
    "c": 0.17455,
    "h": 264.6
  },
  "luminance": 0.19936
}

Semantic roles & 50–950 ramp

primary
#4876E4
secondary
#E3D1A5
accent
#BA37F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4876E4

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

Preview Lab → · Contrast checker → · Palette generator →

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