#4A87E1#4A87E1

#4A87E1 is a light, vivid blue. Relative luminance 0.242; OKLCH L 62.6% C 0.150 H 258.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4A87E1
RGBrgb(74, 135, 225)
HSLhsl(216, 72%, 59%)
HSVhsv(216, 67%, 88%)
CMYKcmyk(67.1%, 40%, 0%, 11.8%)
CIE-LABlab(56.30, 9.01, -51.63)
CIE-LCHlch(56.30, 52.41, 279.90°)
OKLaboklab(62.58% -0.031 -0.1471)
OKLCHoklch(62.58% 0.15 258.1)
XYZxyz(25.0737, 24.2175, 74.5726)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87E1 #E1A44A
analogous
#4AD2E1 #4A87E1 #584AE1
triadic
#4A87E1 #E14A87 #87E14A
tetradic
#4A87E1 #E14AD2 #E1A44A #4AE158
square
#4A87E1 #E14AD2 #E1A44A #4AE158
split-complementary
#4A87E1 #E1584A #D2E14A
monochromatic
#194C97 #2267CC #4A87E1 #7EAAEA #B3CDF2

Accessibility & contrast

On white

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

On black

5.84
#4A87E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87E1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87E1#FFFFFF#000000##000000
##4A87E11.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE5
Deuteranopia (green-blind)
#4681DF
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4a87e1;
/* rgb */ color: rgb(74, 135, 225);
/* oklch */ color: oklch(62.6% 0.150 258.1);
Tailwind
colors: {
  custom: {
    50: '#8ca9eb',
    500: '#4a87e1',
    950: '#000000',
  },
}
SCSS
$custom: #4a87e1;
$custom-light: #8ca9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87e1",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 215.762,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62582,
    "c": 0.15038,
    "h": 258.1
  },
  "luminance": 0.2422
}

Semantic roles & 50–950 ramp

primary
#4A87E1
secondary
#E1C9A6
accent
#A539EE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A87E1

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

Preview Lab → · Contrast checker → · Palette generator →

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