#4A87E4#4A87E4

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

Color values

HEX#4A87E4
RGBrgb(74, 135, 228)
HSLhsl(216, 74%, 59%)
HSVhsv(216, 68%, 89%)
CMYKcmyk(67.5%, 40.8%, 0%, 10.6%)
CIE-LABlab(56.47, 10.06, -53.04)
CIE-LCHlch(56.47, 53.99, 280.74°)
OKLaboklab(62.76% -0.0304 -0.1513)
OKLCHoklch(62.76% 0.154 258.6)
XYZxyz(25.4866, 24.3826, 76.7469)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87E4 #E4A74A
analogous
#4AD4E4 #4A87E4 #5A4AE4
triadic
#4A87E4 #E44A87 #87E44A
tetradic
#4A87E4 #E44AD4 #E4A74A #4AE45A
square
#4A87E4 #E44AD4 #E4A74A #4AE45A
split-complementary
#4A87E4 #E45A4A #D4E44A
monochromatic
#174C9C #1F66D2 #4A87E4 #7FAAEC #B5CEF4

Accessibility & contrast

On white

3.57
#4A87E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#4A87E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87E4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87E4#FFFFFF#000000##000000
##4A87E41.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)
#5C8FE8
Deuteranopia (green-blind)
#4381E2
Tritanopia (blue-blind)
#009CAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4a87e4;
/* rgb */ color: rgb(74, 135, 228);
/* oklch */ color: oklch(62.8% 0.154 258.6);
Tailwind
colors: {
  custom: {
    50: '#8ca9ed',
    500: '#4a87e4',
    950: '#000000',
  },
}
SCSS
$custom: #4a87e4;
$custom-light: #8ca9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87e4",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 228
  },
  "hsl": {
    "h": 216.234,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62763,
    "c": 0.15432,
    "h": 258.6
  },
  "luminance": 0.24385
}

Semantic roles & 50–950 ramp

primary
#4A87E4
secondary
#E3CBA7
accent
#A737F1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A87E4

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

Preview Lab → · Contrast checker → · Palette generator →

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