#4A87E8#4A87E8

#4A87E8 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.0% C 0.160 H 259.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4A87E8
RGBrgb(74, 135, 232)
HSLhsl(217, 77%, 60%)
HSVhsv(217, 68%, 91%)
CMYKcmyk(68.1%, 41.8%, 0%, 9%)
CIE-LABlab(56.69, 11.45, -54.92)
CIE-LCHlch(56.69, 56.10, 281.78°)
OKLaboklab(63.01% -0.0296 -0.1568)
OKLCHoklch(63.01% 0.16 259.3)
XYZxyz(26.0483, 24.6073, 79.7052)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87E8 #E8AB4A
analogous
#4AD6E8 #4A87E8 #5C4AE8
triadic
#4A87E8 #E84A87 #87E84A
tetradic
#4A87E8 #E84AD6 #E8AB4A #4AE85C
square
#4A87E8 #E84AD6 #E8AB4A #4AE85C
split-complementary
#4A87E8 #E85C4A #D6E84A
monochromatic
#154CA3 #1C65D9 #4A87E8 #80ABEF #B7CFF6

Accessibility & contrast

On white

3.55
#4A87E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#4A87E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87E8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87E8#FFFFFF#000000##000000
##4A87E81.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5990EC
Deuteranopia (green-blind)
#3F81E6
Tritanopia (blue-blind)
#009DAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4a87e8;
/* rgb */ color: rgb(74, 135, 232);
/* oklch */ color: oklch(63.0% 0.160 259.3);
Tailwind
colors: {
  custom: {
    50: '#8da9f0',
    500: '#4a87e8',
    950: '#000000',
  },
}
SCSS
$custom: #4a87e8;
$custom-light: #8da9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87e8",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 216.835,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.63006,
    "c": 0.15958,
    "h": 259.3
  },
  "luminance": 0.2461
}

Semantic roles & 50–950 ramp

primary
#4A87E8
secondary
#E5CEA8
accent
#AA34F4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4A87E8

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

Preview Lab → · Contrast checker → · Palette generator →

#4A87E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva