#4876E1#4876E1

#4876E1 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.9% C 0.171 H 264.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4876E1
RGBrgb(72, 118, 225)
HSLhsl(222, 72%, 58%)
HSVhsv(222, 68%, 88%)
CMYKcmyk(68%, 47.6%, 0%, 11.8%)
CIE-LABlab(51.57, 19.11, -59.20)
CIE-LCHlch(51.57, 62.21, 287.89°)
OKLaboklab(58.91% -0.0169 -0.1697)
OKLCHoklch(58.91% 0.171 264.3)
XYZxyz(22.7368, 19.7686, 73.8370)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4876E1 #E1B348
analogous
#48C2E1 #4876E1 #6648E1
triadic
#4876E1 #E14876 #76E148
tetradic
#4876E1 #E148C2 #E1B348 #48E166
square
#4876E1 #E148C2 #E1B348 #48E166
split-complementary
#4876E1 #E16648 #C2E148
monochromatic
#193E96 #2154CB #4876E1 #7D9DEA #B1C5F2

Accessibility & contrast

On white

4.24
#4876E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4876E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4876E1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4876E1#FFFFFF#000000##000000
##4876E11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D82E5
Deuteranopia (green-blind)
#1674DF
Tritanopia (blue-blind)
#008FA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4876e1;
/* rgb */ color: rgb(72, 118, 225);
/* oklch */ color: oklch(58.9% 0.171 264.3);
Tailwind
colors: {
  custom: {
    50: '#8b9ceb',
    500: '#4876e1',
    950: '#000000',
  },
}
SCSS
$custom: #4876e1;
$custom-light: #8b9ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4876e1",
  "rgb": {
    "r": 72,
    "g": 118,
    "b": 225
  },
  "hsl": {
    "h": 221.961,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58915,
    "c": 0.17054,
    "h": 264.3
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

primary
#4876E1
secondary
#E1CFA4
accent
#B839EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4876E1

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

Preview Lab → · Contrast checker → · Palette generator →

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