#4F87DA#4F87DA

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

Color values

HEX#4F87DA
RGBrgb(79, 135, 218)
HSLhsl(216, 65%, 58%)
HSVhsv(216, 64%, 85%)
CMYKcmyk(63.8%, 38.1%, 0%, 14.5%)
CIE-LABlab(56.14, 7.44, -47.96)
CIE-LCHlch(56.14, 48.54, 278.82°)
OKLaboklab(62.39% -0.0287 -0.1363)
OKLCHoklch(62.39% 0.139 258.1)
XYZxyz(24.5388, 24.0498, 69.6650)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87DA #DAA24F
analogous
#4FCDDA #4F87DA #5C4FDA
triadic
#4F87DA #DA4F87 #87DA4F
tetradic
#4F87DA #DA4FCD #DAA24F #4FDA5C
square
#4F87DA #DA4FCD #DAA24F #4FDA5C
split-complementary
#4F87DA #DA5C4F #CDDA4F
monochromatic
#1E4C90 #2967C3 #4F87DA #82A9E5 #B4CCEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F87DA#FFFFFF#000000##000000
##4F87DA1.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)
#628EDD
Deuteranopia (green-blind)
#4F81D8
Tritanopia (blue-blind)
#009AA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4f87da;
/* rgb */ color: rgb(79, 135, 218);
/* oklch */ color: oklch(62.4% 0.139 258.1);
Tailwind
colors: {
  custom: {
    50: '#8da9e6',
    500: '#4f87da',
    950: '#000000',
  },
}
SCSS
$custom: #4f87da;
$custom-light: #8da9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87da",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 215.827,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62388,
    "c": 0.13932,
    "h": 258.1
  },
  "luminance": 0.24052
}

Semantic roles & 50–950 ramp

primary
#4F87DA
secondary
#DEC8A7
accent
#A440E8
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4F87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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