#4A87E0#4A87E0

#4A87E0 is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.5% C 0.149 H 257.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4A87E0
RGBrgb(74, 135, 224)
HSLhsl(216, 71%, 58%)
HSVhsv(216, 67%, 88%)
CMYKcmyk(67%, 39.7%, 0%, 12.2%)
CIE-LABlab(56.25, 8.67, -51.16)
CIE-LCHlch(56.25, 51.89, 279.62°)
OKLaboklab(62.52% -0.0312 -0.1458)
OKLCHoklch(62.52% 0.149 257.9)
XYZxyz(24.9377, 24.1631, 73.8563)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87E0 #E0A34A
analogous
#4AD2E0 #4A87E0 #584AE0
triadic
#4A87E0 #E04A87 #87E04A
tetradic
#4A87E0 #E04AD2 #E0A34A #4AE058
square
#4A87E0 #E04AD2 #E0A34A #4AE058
split-complementary
#4A87E0 #E0584A #D2E04A
monochromatic
#1A4C96 #2367CA #4A87E0 #7EAAE9 #B3CCF2

Accessibility & contrast

On white

3.60
#4A87E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#4A87E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87E0
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87E0#FFFFFF#000000##000000
##4A87E01.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE4
Deuteranopia (green-blind)
#4780DE
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4a87e0;
/* rgb */ color: rgb(74, 135, 224);
/* oklch */ color: oklch(62.5% 0.149 257.9);
Tailwind
colors: {
  custom: {
    50: '#8ca9ea',
    500: '#4a87e0',
    950: '#000000',
  },
}
SCSS
$custom: #4a87e0;
$custom-light: #8ca9ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87e0",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 224
  },
  "hsl": {
    "h": 215.6,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62522,
    "c": 0.14908,
    "h": 257.9
  },
  "luminance": 0.24166
}

Semantic roles & 50–950 ramp

primary
#4A87E0
secondary
#E1C8A5
accent
#A53AEE
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A87E0

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

Preview Lab → · Contrast checker → · Palette generator →

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