#4A87DE#4A87DE

#4A87DE is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.4% C 0.146 H 257.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4A87DE
RGBrgb(74, 135, 222)
HSLhsl(215, 69%, 58%)
HSVhsv(215, 67%, 87%)
CMYKcmyk(66.7%, 39.2%, 0%, 12.9%)
CIE-LABlab(56.14, 7.97, -50.21)
CIE-LCHlch(56.14, 50.84, 279.02°)
OKLaboklab(62.4% -0.0317 -0.143)
OKLCHoklch(62.4% 0.146 257.5)
XYZxyz(24.6681, 24.0552, 72.4362)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87DE #DEA14A
analogous
#4AD1DE #4A87DE #574ADE
triadic
#4A87DE #DE4A87 #87DE4A
tetradic
#4A87DE #DE4AD1 #DEA14A #4ADE57
square
#4A87DE #DE4AD1 #DEA14A #4ADE57
split-complementary
#4A87DE #DE574A #D1DE4A
monochromatic
#1B4C93 #2467C7 #4A87DE #7EA9E7 #B2CCF1

Accessibility & contrast

On white

3.61
#4A87DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#4A87DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87DE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87DE#FFFFFF#000000##000000
##4A87DE1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#608EE1
Deuteranopia (green-blind)
#4980DC
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4a87de;
/* rgb */ color: rgb(74, 135, 222);
/* oklch */ color: oklch(62.4% 0.146 257.5);
Tailwind
colors: {
  custom: {
    50: '#8ba9e9',
    500: '#4a87de',
    950: '#000000',
  },
}
SCSS
$custom: #4a87de;
$custom-light: #8ba9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87de",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 222
  },
  "hsl": {
    "h": 215.27,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62404,
    "c": 0.14645,
    "h": 257.5
  },
  "luminance": 0.24058
}

Semantic roles & 50–950 ramp

primary
#4A87DE
secondary
#DFC7A4
accent
#A33CEC
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A87DE

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

Preview Lab → · Contrast checker → · Palette generator →

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