#4987EC#4987EC

#4987EC is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.2% C 0.165 H 259.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4987EC
RGBrgb(73, 135, 236)
HSLhsl(217, 81%, 61%)
HSVhsv(217, 69%, 93%)
CMYKcmyk(69.1%, 42.8%, 0%, 7.5%)
CIE-LABlab(56.88, 12.70, -56.85)
CIE-LCHlch(56.88, 58.25, 282.60°)
OKLaboklab(63.21% -0.0296 -0.1625)
OKLCHoklch(63.21% 0.165 259.7)
XYZxyz(26.5465, 24.7978, 82.7280)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4987EC #ECAE49
analogous
#49D8EC #4987EC #5C49EC
triadic
#4987EC #EC4987 #87EC49
tetradic
#4987EC #EC49D8 #ECAE49 #49EC5C
square
#4987EC #EC49D8 #ECAE49 #49EC5C
split-complementary
#4987EC #EC5C49 #D8EC49
monochromatic
#124BA9 #1764E0 #4987EC #80ACF2 #B8D0F8

Accessibility & contrast

On white

3.52
#4987EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#4987EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4987EC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4987EC#FFFFFF#000000##000000
##4987EC1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F0
Deuteranopia (green-blind)
#3A81EA
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4987ec;
/* rgb */ color: rgb(73, 135, 236);
/* oklch */ color: oklch(63.2% 0.165 259.7);
Tailwind
colors: {
  custom: {
    50: '#8da9f3',
    500: '#4987ec',
    950: '#000000',
  },
}
SCSS
$custom: #4987ec;
$custom-light: #8da9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4987ec",
  "rgb": {
    "r": 73,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 217.178,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63213,
    "c": 0.16516,
    "h": 259.7
  },
  "luminance": 0.24801
}

Semantic roles & 50–950 ramp

primary
#4987EC
secondary
#E7D0A9
accent
#8C08DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4987EC

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

Preview Lab → · Contrast checker → · Palette generator →

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