#4887FE#4887FE

#4887FE is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.3% C 0.189 H 261.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4887FE
RGBrgb(72, 135, 254)
HSLhsl(219, 99%, 64%)
HSVhsv(219, 72%, 100%)
CMYKcmyk(71.7%, 46.9%, 0%, 0.4%)
CIE-LABlab(57.90, 18.91, -65.16)
CIE-LCHlch(57.90, 67.84, 286.18°)
OKLaboklab(64.33% -0.0273 -0.1869)
OKLCHoklch(64.33% 0.189 261.7)
XYZxyz(29.2194, 25.8583, 97.1979)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4887FE #FEBF48
analogous
#48E2FE #4887FE #6448FE
triadic
#4887FE #FE4887 #87FE48
tetradic
#4887FE #FE48E2 #FEBF48 #48FE64
square
#4887FE #FE48E2 #FEBF48 #48FE64
split-complementary
#4887FE #FE6448 #E2FE48
monochromatic
#0147CA #0B5FFE #4887FE #85AFFE #C2D7FF

Accessibility & contrast

On white

3.40
#4887FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#4887FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4887FE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4887FE#FFFFFF#000000##000000
##4887FE1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#1383FC
Tritanopia (blue-blind)
#00A3B6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4887fe;
/* rgb */ color: rgb(72, 135, 254);
/* oklch */ color: oklch(64.3% 0.189 261.7);
Tailwind
colors: {
  custom: {
    50: '#90a9ff',
    500: '#4887fe',
    950: '#000000',
  },
}
SCSS
$custom: #4887fe;
$custom-light: #90a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4887fe",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 219.231,
    "s": 98.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64334,
    "c": 0.18893,
    "h": 261.7
  },
  "luminance": 0.25861
}

Semantic roles & 50–950 ramp

primary
#4887FE
secondary
#F1DBB1
accent
#9600E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F18
muted
#7E7F86

Preview Lab

Preview with #4887FE

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

Preview Lab → · Contrast checker → · Palette generator →

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