#4887E8#4887E8

#4887E8 is a light, vivid blue. Relative luminance 0.245; OKLCH L 62.9% C 0.160 H 258.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4887E8
RGBrgb(72, 135, 232)
HSLhsl(216, 78%, 60%)
HSVhsv(216, 69%, 91%)
CMYKcmyk(69%, 41.8%, 0%, 9%)
CIE-LABlab(56.61, 11.15, -55.05)
CIE-LCHlch(56.61, 56.17, 281.45°)
OKLaboklab(62.93% -0.0311 -0.1572)
OKLCHoklch(62.93% 0.16 258.8)
XYZxyz(25.8967, 24.5292, 79.6981)
Luminance0.2453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4887E8 #E8A948
analogous
#48D7E8 #4887E8 #5948E8
triadic
#4887E8 #E84887 #87E848
tetradic
#4887E8 #E848D7 #E8A948 #48E859
square
#4887E8 #E848D7 #E8A948 #48E859
split-complementary
#4887E8 #E85948 #D7E848
monochromatic
#144CA1 #1B65D8 #4887E8 #7EABEF #B5CEF6

Accessibility & contrast

On white

3.56
#4887E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#4887E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4887E8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4887E8#FFFFFF#000000##000000
##4887E81.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5990EC
Deuteranopia (green-blind)
#3E81E6
Tritanopia (blue-blind)
#009EAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4887e8;
/* rgb */ color: rgb(72, 135, 232);
/* oklch */ color: oklch(62.9% 0.160 258.8);
Tailwind
colors: {
  custom: {
    50: '#8ca9f0',
    500: '#4887e8',
    950: '#000000',
  },
}
SCSS
$custom: #4887e8;
$custom-light: #8ca9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4887e8",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 216.375,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62925,
    "c": 0.16026,
    "h": 258.8
  },
  "luminance": 0.24532
}

Semantic roles & 50–950 ramp

primary
#4887E8
secondary
#E5CCA7
accent
#A834F4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4887E8

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

Preview Lab → · Contrast checker → · Palette generator →

#4887E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva