#4A87E7#4A87E7

#4A87E7 is a light, vivid blue. Relative luminance 0.246; OKLCH L 62.9% C 0.158 H 259.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4A87E7
RGBrgb(74, 135, 231)
HSLhsl(217, 77%, 60%)
HSVhsv(217, 68%, 91%)
CMYKcmyk(68%, 41.6%, 0%, 9.4%)
CIE-LABlab(56.63, 11.10, -54.45)
CIE-LCHlch(56.63, 55.57, 281.53°)
OKLaboklab(62.94% -0.0298 -0.1554)
OKLCHoklch(62.94% 0.158 259.2)
XYZxyz(25.9066, 24.5507, 78.9593)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87E7 #E7AA4A
analogous
#4AD5E7 #4A87E7 #5C4AE7
triadic
#4A87E7 #E74A87 #87E74A
tetradic
#4A87E7 #E74AD5 #E7AA4A #4AE75C
square
#4A87E7 #E74AD5 #E7AA4A #4AE75C
split-complementary
#4A87E7 #E75C4A #D5E74A
monochromatic
#154CA1 #1D65D7 #4A87E7 #80ABEE #B6CFF5

Accessibility & contrast

On white

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

On black

5.91
#4A87E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87E7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87E7#FFFFFF#000000##000000
##4A87E71.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EB
Deuteranopia (green-blind)
#4081E5
Tritanopia (blue-blind)
#009DAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4a87e7;
/* rgb */ color: rgb(74, 135, 231);
/* oklch */ color: oklch(62.9% 0.158 259.2);
Tailwind
colors: {
  custom: {
    50: '#8da9ef',
    500: '#4a87e7',
    950: '#000000',
  },
}
SCSS
$custom: #4a87e7;
$custom-light: #8da9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87e7",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 231
  },
  "hsl": {
    "h": 216.688,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62945,
    "c": 0.15827,
    "h": 259.2
  },
  "luminance": 0.24553
}

Semantic roles & 50–950 ramp

primary
#4A87E7
secondary
#E5CDA8
accent
#A935F3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A87E7

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

Preview Lab → · Contrast checker → · Palette generator →

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