#4887F6#4887F6

#4887F6 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.8% C 0.179 H 260.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4887F6
RGBrgb(72, 135, 246)
HSLhsl(218, 91%, 62%)
HSVhsv(218, 71%, 96%)
CMYKcmyk(70.7%, 45.1%, 0%, 3.5%)
CIE-LABlab(57.42, 16.08, -61.52)
CIE-LCHlch(57.42, 63.59, 284.65°)
OKLaboklab(63.81% -0.0286 -0.1762)
OKLCHoklch(63.81% 0.179 260.8)
XYZxyz(27.9650, 25.3565, 90.5914)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4887F6 #F6B748
analogous
#48DEF6 #4887F6 #6048F6
triadic
#4887F6 #F64887 #87F648
tetradic
#4887F6 #F648DE #F6B748 #48F660
square
#4887F6 #F648DE #F6B748 #48F660
split-complementary
#4887F6 #F66048 #DEF648
monochromatic
#0949BA #0E61F3 #4887F6 #82ADF9 #BDD4FC

Accessibility & contrast

On white

3.46
#4887F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#4887F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4887F6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4887F6#FFFFFF#000000##000000
##4887F61.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92FA
Deuteranopia (green-blind)
#2982F4
Tritanopia (blue-blind)
#00A1B2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4887f6;
/* rgb */ color: rgb(72, 135, 246);
/* oklch */ color: oklch(63.8% 0.179 260.8);
Tailwind
colors: {
  custom: {
    50: '#8fa9fa',
    500: '#4887f6',
    950: '#000000',
  },
}
SCSS
$custom: #4887f6;
$custom-light: #8fa9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#4887f6",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 218.276,
    "s": 90.625,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63809,
    "c": 0.17854,
    "h": 260.8
  },
  "luminance": 0.25359
}

Semantic roles & 50–950 ramp

primary
#4887F6
secondary
#EDD6AD
accent
#9200E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4887F6

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

Preview Lab → · Contrast checker → · Palette generator →

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