#4887EF#4887EF

#4887EF is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.4% C 0.169 H 259.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4887EF
RGBrgb(72, 135, 239)
HSLhsl(217, 84%, 61%)
HSVhsv(217, 70%, 94%)
CMYKcmyk(69.9%, 43.5%, 0%, 6.3%)
CIE-LABlab(57.01, 13.62, -58.30)
CIE-LCHlch(57.01, 59.87, 283.15°)
OKLaboklab(63.36% -0.0297 -0.1668)
OKLCHoklch(63.36% 0.169 259.9)
XYZxyz(26.9108, 24.9348, 85.0393)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4887EF #EFB048
analogous
#48DBEF #4887EF #5C48EF
triadic
#4887EF #EF4887 #87EF48
tetradic
#4887EF #EF48DB #EFB048 #48EF5C
square
#4887EF #EF48DB #EFB048 #48EF5C
split-complementary
#4887EF #EF5C48 #DBEF48
monochromatic
#0F4BAD #1463E6 #4887EF #80ACF4 #B9D1F9

Accessibility & contrast

On white

3.51
#4887EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#4887EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4887EF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4887EF#FFFFFF#000000##000000
##4887EF1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#3582ED
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4887ef;
/* rgb */ color: rgb(72, 135, 239);
/* oklch */ color: oklch(63.4% 0.169 259.9);
Tailwind
colors: {
  custom: {
    50: '#8da9f5',
    500: '#4887ef',
    950: '#000000',
  },
}
SCSS
$custom: #4887ef;
$custom-light: #8da9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4887ef",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 217.365,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63362,
    "c": 0.1694,
    "h": 259.9
  },
  "luminance": 0.24938
}

Semantic roles & 50–950 ramp

primary
#4887EF
secondary
#E9D1AA
accent
#8E05E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4887EF

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

Preview Lab → · Contrast checker → · Palette generator →

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