#4A87EA#4A87EA

#4A87EA is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.1% C 0.162 H 259.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4A87EA
RGBrgb(74, 135, 234)
HSLhsl(217, 79%, 60%)
HSVhsv(217, 68%, 92%)
CMYKcmyk(68.4%, 42.3%, 0%, 8.2%)
CIE-LABlab(56.80, 12.15, -55.85)
CIE-LCHlch(56.80, 57.16, 282.27°)
OKLaboklab(63.13% -0.0292 -0.1595)
OKLCHoklch(63.13% 0.162 259.6)
XYZxyz(26.3340, 24.7216, 81.2099)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87EA #EAAD4A
analogous
#4AD7EA #4A87EA #5D4AEA
triadic
#4A87EA #EA4A87 #87EA4A
tetradic
#4A87EA #EA4AD7 #EAAD4A #4AEA5D
square
#4A87EA #EA4AD7 #EAAD4A #4AEA5D
split-complementary
#4A87EA #EA5D4A #D7EA4A
monochromatic
#134BA6 #1A64DD #4A87EA #81ABF0 #B8D0F7

Accessibility & contrast

On white

3.53
#4A87EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#4A87EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87EA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87EA#FFFFFF#000000##000000
##4A87EA1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5890EE
Deuteranopia (green-blind)
#3D81E8
Tritanopia (blue-blind)
#009EAD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4a87ea;
/* rgb */ color: rgb(74, 135, 234);
/* oklch */ color: oklch(63.1% 0.162 259.6);
Tailwind
colors: {
  custom: {
    50: '#8da9f1',
    500: '#4a87ea',
    950: '#000000',
  },
}
SCSS
$custom: #4a87ea;
$custom-light: #8da9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87ea",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 217.125,
    "s": 79.208,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6313,
    "c": 0.1622,
    "h": 259.6
  },
  "luminance": 0.24724
}

Semantic roles & 50–950 ramp

primary
#4A87EA
secondary
#E6CFA9
accent
#8C0ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4A87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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