#4987E5#4987E5

#4987E5 is a light, vivid blue. Relative luminance 0.244; OKLCH L 62.8% C 0.156 H 258.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4987E5
RGBrgb(73, 135, 229)
HSLhsl(216, 75%, 59%)
HSVhsv(216, 68%, 90%)
CMYKcmyk(68.1%, 41%, 0%, 10.2%)
CIE-LABlab(56.48, 10.25, -53.58)
CIE-LCHlch(56.48, 54.55, 280.83°)
OKLaboklab(62.78% -0.0309 -0.1529)
OKLCHoklch(62.78% 0.156 258.6)
XYZxyz(25.5494, 24.3989, 77.4765)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4987E5 #E5A749
analogous
#49D5E5 #4987E5 #5949E5
triadic
#4987E5 #E54987 #87E549
tetradic
#4987E5 #E549D5 #E5A749 #49E559
square
#4987E5 #E549D5 #E5A749 #49E559
split-complementary
#4987E5 #E55949 #D5E549
monochromatic
#164C9D #1E66D3 #4987E5 #7FAAED #B4CEF4

Accessibility & contrast

On white

3.57
#4987E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#4987E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4987E5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4987E5#FFFFFF#000000##000000
##4987E51.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8FE9
Deuteranopia (green-blind)
#4281E3
Tritanopia (blue-blind)
#009DAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4987e5;
/* rgb */ color: rgb(73, 135, 229);
/* oklch */ color: oklch(62.8% 0.156 258.6);
Tailwind
colors: {
  custom: {
    50: '#8ca9ee',
    500: '#4987e5',
    950: '#000000',
  },
}
SCSS
$custom: #4987e5;
$custom-light: #8ca9ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4987e5",
  "rgb": {
    "r": 73,
    "g": 135,
    "b": 229
  },
  "hsl": {
    "h": 216.154,
    "s": 75,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62782,
    "c": 0.15599,
    "h": 258.6
  },
  "luminance": 0.24402
}

Semantic roles & 50–950 ramp

primary
#4987E5
secondary
#E3CBA6
accent
#A736F2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4987E5

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

Preview Lab → · Contrast checker → · Palette generator →

#4987E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva