#4A87EF#4A87EF

#4A87EF is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.4% C 0.169 H 260.4°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4A87EF
RGBrgb(74, 135, 239)
HSLhsl(218, 84%, 61%)
HSVhsv(218, 69%, 94%)
CMYKcmyk(69%, 43.5%, 0%, 6.3%)
CIE-LABlab(57.09, 13.90, -58.17)
CIE-LCHlch(57.09, 59.81, 283.44°)
OKLaboklab(63.44% -0.0283 -0.1664)
OKLCHoklch(63.44% 0.169 260.4)
XYZxyz(27.0624, 25.0130, 85.0464)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87EF #EFB24A
analogous
#4ADAEF #4A87EF #604AEF
triadic
#4A87EF #EF4A87 #87EF4A
tetradic
#4A87EF #EF4ADA #EFB24A #4AEF60
square
#4A87EF #EF4ADA #EFB24A #4AEF60
split-complementary
#4A87EF #EF604A #DAEF4A
monochromatic
#0F4AAF #1462E7 #4A87EF #82ACF4 #BAD2F9

Accessibility & contrast

On white

3.50
#4A87EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#4A87EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87EF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87EF#FFFFFF#000000##000000
##4A87EF1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#3682ED
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4a87ef;
/* rgb */ color: rgb(74, 135, 239);
/* oklch */ color: oklch(63.4% 0.169 260.4);
Tailwind
colors: {
  custom: {
    50: '#8ea9f5',
    500: '#4a87ef',
    950: '#000000',
  },
}
SCSS
$custom: #4a87ef;
$custom-light: #8ea9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87ef",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 217.818,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63442,
    "c": 0.16876,
    "h": 260.4
  },
  "luminance": 0.25016
}

Semantic roles & 50–950 ramp

primary
#4A87EF
secondary
#E9D2AC
accent
#8F05E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4A87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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