#4887E1#4887E1

#4887E1 is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.5% C 0.151 H 257.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4887E1
RGBrgb(72, 135, 225)
HSLhsl(215, 72%, 58%)
HSVhsv(215, 68%, 88%)
CMYKcmyk(68%, 40%, 0%, 11.8%)
CIE-LABlab(56.23, 8.70, -51.76)
CIE-LCHlch(56.23, 52.49, 279.54°)
OKLaboklab(62.5% -0.0325 -0.1476)
OKLCHoklch(62.5% 0.151 257.6)
XYZxyz(24.9221, 24.1393, 74.5655)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4887E1 #E1A248
analogous
#48D4E1 #4887E1 #5548E1
triadic
#4887E1 #E14887 #87E148
tetradic
#4887E1 #E148D4 #E1A248 #48E155
square
#4887E1 #E148D4 #E1A248 #48E155
split-complementary
#4887E1 #E15548 #D4E148
monochromatic
#194C96 #2167CB #4887E1 #7DA9EA #B1CCF2

Accessibility & contrast

On white

3.60
#4887E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#4887E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4887E1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4887E1#FFFFFF#000000##000000
##4887E11.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8FE5
Deuteranopia (green-blind)
#4680DF
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4887e1;
/* rgb */ color: rgb(72, 135, 225);
/* oklch */ color: oklch(62.5% 0.151 257.6);
Tailwind
colors: {
  custom: {
    50: '#8ba9eb',
    500: '#4887e1',
    950: '#000000',
  },
}
SCSS
$custom: #4887e1;
$custom-light: #8ba9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4887e1",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 215.294,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.625,
    "c": 0.1511,
    "h": 257.6
  },
  "luminance": 0.24142
}

Semantic roles & 50–950 ramp

primary
#4887E1
secondary
#E1C8A4
accent
#A439EF
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4887E1

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

Preview Lab → · Contrast checker → · Palette generator →

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