#4F87EC#4F87EC

#4F87EC is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.5% C 0.163 H 261.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4F87EC
RGBrgb(79, 135, 236)
HSLhsl(219, 81%, 62%)
HSVhsv(219, 67%, 93%)
CMYKcmyk(66.5%, 42.8%, 0%, 7.5%)
CIE-LABlab(57.12, 13.62, -56.45)
CIE-LCHlch(57.12, 58.07, 283.56°)
OKLaboklab(63.47% -0.025 -0.1612)
OKLCHoklch(63.47% 0.163 261.2)
XYZxyz(27.0234, 25.0437, 82.7504)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87EC #ECB44F
analogous
#4FD5EC #4F87EC #664FEC
triadic
#4F87EC #EC4F87 #87EC4F
tetradic
#4F87EC #EC4FD5 #ECB44F #4FEC66
square
#4F87EC #EC4FD5 #ECB44F #4FEC66
split-complementary
#4F87EC #EC664F #D5EC4F
monochromatic
#134AAE #1962E5 #4F87EC #86ADF2 #BDD2F8

Accessibility & contrast

On white

3.49
#4F87EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#4F87EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87EC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87EC#FFFFFF#000000##000000
##4F87EC1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#3D82EA
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4f87ec;
/* rgb */ color: rgb(79, 135, 236);
/* oklch */ color: oklch(63.5% 0.163 261.2);
Tailwind
colors: {
  custom: {
    50: '#90a9f3',
    500: '#4f87ec',
    950: '#000000',
  },
}
SCSS
$custom: #4f87ec;
$custom-light: #90a9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87ec",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 218.599,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63465,
    "c": 0.16316,
    "h": 261.2
  },
  "luminance": 0.25046
}

Semantic roles & 50–950 ramp

primary
#4F87EC
secondary
#E8D4AE
accent
#9109DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4F87EC

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

Preview Lab → · Contrast checker → · Palette generator →

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