#4887E5#4887E5

#4887E5 is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.7% C 0.156 H 258.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4887E5
RGBrgb(72, 135, 229)
HSLhsl(216, 75%, 59%)
HSVhsv(216, 69%, 90%)
CMYKcmyk(68.6%, 41%, 0%, 10.2%)
CIE-LABlab(56.45, 10.10, -53.64)
CIE-LCHlch(56.45, 54.59, 280.67°)
OKLaboklab(62.74% -0.0317 -0.1531)
OKLCHoklch(62.74% 0.156 258.3)
XYZxyz(25.4742, 24.3602, 77.4730)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4887E5 #E5A648
analogous
#48D5E5 #4887E5 #5848E5
triadic
#4887E5 #E54887 #87E548
tetradic
#4887E5 #E548D5 #E5A648 #48E558
square
#4887E5 #E548D5 #E5A648 #48E558
split-complementary
#4887E5 #E55848 #D5E548
monochromatic
#164C9C #1E66D2 #4887E5 #7EAAED #B3CDF4

Accessibility & contrast

On white

3.58
#4887E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#4887E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4887E5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4887E5#FFFFFF#000000##000000
##4887E51.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8FE9
Deuteranopia (green-blind)
#4281E3
Tritanopia (blue-blind)
#009DAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4887e5;
/* rgb */ color: rgb(72, 135, 229);
/* oklch */ color: oklch(62.7% 0.156 258.3);
Tailwind
colors: {
  custom: {
    50: '#8ca9ee',
    500: '#4887e5',
    950: '#000000',
  },
}
SCSS
$custom: #4887e5;
$custom-light: #8ca9ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4887e5",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 229
  },
  "hsl": {
    "h": 215.924,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62742,
    "c": 0.15633,
    "h": 258.3
  },
  "luminance": 0.24363
}

Semantic roles & 50–950 ramp

primary
#4887E5
secondary
#E3CAA6
accent
#A636F2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4887E5

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

Preview Lab → · Contrast checker → · Palette generator →

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