#4887EA#4887EA

#4887EA is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.0% C 0.163 H 259.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4887EA
RGBrgb(72, 135, 234)
HSLhsl(217, 79%, 60%)
HSVhsv(217, 69%, 92%)
CMYKcmyk(69.2%, 42.3%, 0%, 8.2%)
CIE-LABlab(56.73, 11.86, -55.98)
CIE-LCHlch(56.73, 57.22, 281.96°)
OKLaboklab(63.05% -0.0307 -0.16)
OKLCHoklch(63.05% 0.163 259.1)
XYZxyz(26.1824, 24.6434, 81.2028)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4887EA #EAAB48
analogous
#48D8EA #4887EA #5A48EA
triadic
#4887EA #EA4887 #87EA48
tetradic
#4887EA #EA48D8 #EAAB48 #48EA5A
square
#4887EA #EA48D8 #EAAB48 #48EA5A
split-complementary
#4887EA #EA5A48 #D8EA48
monochromatic
#134CA5 #1965DC #4887EA #7FABF0 #B6CFF7

Accessibility & contrast

On white

3.54
#4887EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#4887EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4887EA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4887EA#FFFFFF#000000##000000
##4887EA1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#3C81E8
Tritanopia (blue-blind)
#009EAD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4887ea;
/* rgb */ color: rgb(72, 135, 234);
/* oklch */ color: oklch(63.0% 0.163 259.1);
Tailwind
colors: {
  custom: {
    50: '#8da9f1',
    500: '#4887ea',
    950: '#000000',
  },
}
SCSS
$custom: #4887ea;
$custom-light: #8da9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4887ea",
  "rgb": {
    "r": 72,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 216.667,
    "s": 79.412,
    "l": 60
  },
  "oklch": {
    "l": 0.63049,
    "c": 0.16287,
    "h": 259.1
  },
  "luminance": 0.24646
}

Semantic roles & 50–950 ramp

primary
#4887EA
secondary
#E6CEA8
accent
#AA32F6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4887EA

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

Preview Lab → · Contrast checker → · Palette generator →

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