#4A87E2#4A87E2

#4A87E2 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.6% C 0.152 H 258.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4A87E2
RGBrgb(74, 135, 226)
HSLhsl(216, 72%, 59%)
HSVhsv(216, 67%, 89%)
CMYKcmyk(67.3%, 40.3%, 0%, 11.4%)
CIE-LABlab(56.36, 9.36, -52.10)
CIE-LCHlch(56.36, 52.94, 280.19°)
OKLaboklab(62.64% -0.0308 -0.1485)
OKLCHoklch(62.64% 0.152 258.3)
XYZxyz(25.2105, 24.2722, 75.2931)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87E2 #E2A54A
analogous
#4AD3E2 #4A87E2 #594AE2
triadic
#4A87E2 #E24A87 #87E24A
tetradic
#4A87E2 #E24AD3 #E2A54A #4AE259
square
#4A87E2 #E24AD3 #E2A54A #4AE259
split-complementary
#4A87E2 #E2594A #D3E24A
monochromatic
#194C99 #2166CE #4A87E2 #7FAAEA #B3CDF3

Accessibility & contrast

On white

3.59
#4A87E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#4A87E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87E2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87E2#FFFFFF#000000##000000
##4A87E21.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a87e2;
/* rgb */ color: rgb(74, 135, 226);
/* oklch */ color: oklch(62.6% 0.152 258.3);
Tailwind
colors: {
  custom: {
    50: '#8ca9eb',
    500: '#4a87e2',
    950: '#000000',
  },
}
SCSS
$custom: #4a87e2;
$custom-light: #8ca9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87e2",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 215.921,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62642,
    "c": 0.1517,
    "h": 258.3
  },
  "luminance": 0.24275
}

Semantic roles & 50–950 ramp

primary
#4A87E2
secondary
#E2CAA6
accent
#A639EF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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