#4A87ED#4A87ED

#4A87ED is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.3% C 0.166 H 260.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4A87ED
RGBrgb(74, 135, 237)
HSLhsl(218, 82%, 61%)
HSVhsv(218, 69%, 93%)
CMYKcmyk(68.8%, 43%, 0%, 7.1%)
CIE-LABlab(56.97, 13.20, -57.25)
CIE-LCHlch(56.97, 58.75, 282.99°)
OKLaboklab(63.32% -0.0286 -0.1636)
OKLCHoklch(63.32% 0.166 260.1)
XYZxyz(26.7686, 24.8954, 83.4989)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87ED #EDB04A
analogous
#4AD8ED #4A87ED #5E4AED
triadic
#4A87ED #ED4A87 #87ED4A
tetradic
#4A87ED #ED4AD8 #EDB04A #4AED5E
square
#4A87ED #ED4AD8 #EDB04A #4AED5E
split-complementary
#4A87ED #ED5E4A #D8ED4A
monochromatic
#114BAC #1763E3 #4A87ED #82ACF3 #B9D1F8

Accessibility & contrast

On white

3.51
#4A87ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#4A87ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87ED
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87ED#FFFFFF#000000##000000
##4A87ED1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#3982EB
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4a87ed;
/* rgb */ color: rgb(74, 135, 237);
/* oklch */ color: oklch(63.3% 0.166 260.1);
Tailwind
colors: {
  custom: {
    50: '#8ea9f3',
    500: '#4a87ed',
    950: '#000000',
  },
}
SCSS
$custom: #4a87ed;
$custom-light: #8ea9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87ed",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 217.546,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63316,
    "c": 0.16614,
    "h": 260.1
  },
  "luminance": 0.24898
}

Semantic roles & 50–950 ramp

primary
#4A87ED
secondary
#E8D1AB
accent
#8E07DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4A87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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