#4987E2#4987E2

#4987E2 is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.6% C 0.152 H 258.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4987E2
RGBrgb(73, 135, 226)
HSLhsl(216, 73%, 59%)
HSVhsv(216, 68%, 89%)
CMYKcmyk(67.7%, 40.3%, 0%, 11.4%)
CIE-LABlab(56.32, 9.21, -52.17)
CIE-LCHlch(56.32, 52.97, 280.01°)
OKLaboklab(62.6% -0.0315 -0.1487)
OKLCHoklch(62.6% 0.152 258)
XYZxyz(25.1341, 24.2328, 75.2896)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4987E2 #E2A449
analogous
#49D4E2 #4987E2 #5749E2
triadic
#4987E2 #E24987 #87E249
tetradic
#4987E2 #E249D4 #E2A449 #49E257
square
#4987E2 #E249D4 #E2A449 #49E257
split-complementary
#4987E2 #E25749 #D4E249
monochromatic
#184C98 #2167CD #4987E2 #7EAAEA #B3CDF3

Accessibility & contrast

On white

3.59
#4987E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#4987E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4987E2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4987E2#FFFFFF#000000##000000
##4987E21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8FE6
Deuteranopia (green-blind)
#4580E0
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4987e2;
/* rgb */ color: rgb(73, 135, 226);
/* oklch */ color: oklch(62.6% 0.152 258.0);
Tailwind
colors: {
  custom: {
    50: '#8ca9eb',
    500: '#4987e2',
    950: '#000000',
  },
}
SCSS
$custom: #4987e2;
$custom-light: #8ca9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4987e2",
  "rgb": {
    "r": 73,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 215.686,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62601,
    "c": 0.15205,
    "h": 258
  },
  "luminance": 0.24235
}

Semantic roles & 50–950 ramp

primary
#4987E2
secondary
#E2C9A5
accent
#A539EF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4987E2

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

Preview Lab → · Contrast checker → · Palette generator →

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