#4A87DD#4A87DD

#4A87DD is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.3% C 0.145 H 257.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4A87DD
RGBrgb(74, 135, 221)
HSLhsl(215, 68%, 58%)
HSVhsv(215, 67%, 87%)
CMYKcmyk(66.5%, 38.9%, 0%, 13.3%)
CIE-LABlab(56.09, 7.63, -49.73)
CIE-LCHlch(56.09, 50.32, 278.72°)
OKLaboklab(62.34% -0.0319 -0.1416)
OKLCHoklch(62.34% 0.145 257.3)
XYZxyz(24.5344, 24.0018, 71.7324)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87DD #DDA04A
analogous
#4AD0DD #4A87DD #564ADD
triadic
#4A87DD #DD4A87 #87DD4A
tetradic
#4A87DD #DD4AD0 #DDA04A #4ADD56
square
#4A87DD #DD4AD0 #DDA04A #4ADD56
split-complementary
#4A87DD #DD564A #D0DD4A
monochromatic
#1B4C91 #2567C5 #4A87DD #7EA9E7 #B1CBF0

Accessibility & contrast

On white

3.62
#4A87DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#4A87DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87DD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87DD#FFFFFF#000000##000000
##4A87DD1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#608EE0
Deuteranopia (green-blind)
#4A80DB
Tritanopia (blue-blind)
#009BA7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a87dd;
/* rgb */ color: rgb(74, 135, 221);
/* oklch */ color: oklch(62.3% 0.145 257.3);
Tailwind
colors: {
  custom: {
    50: '#8ba9e8',
    500: '#4a87dd',
    950: '#000000',
  },
}
SCSS
$custom: #4a87dd;
$custom-light: #8ba9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87dd",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 215.102,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62345,
    "c": 0.14514,
    "h": 257.3
  },
  "luminance": 0.24004
}

Semantic roles & 50–950 ramp

primary
#4A87DD
secondary
#DFC6A4
accent
#A33DEB
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A87DD

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

Preview Lab → · Contrast checker → · Palette generator →

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