#4F87ED#4F87ED

#4F87ED is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.5% C 0.164 H 261.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4F87ED
RGBrgb(79, 135, 237)
HSLhsl(219, 81%, 62%)
HSVhsv(219, 67%, 93%)
CMYKcmyk(66.7%, 43%, 0%, 7.1%)
CIE-LABlab(57.17, 13.96, -56.91)
CIE-LCHlch(57.17, 58.60, 283.78°)
OKLaboklab(63.53% -0.0248 -0.1626)
OKLCHoklch(63.53% 0.164 261.3)
XYZxyz(27.1691, 25.1019, 83.5177)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87ED #EDB54F
analogous
#4FD6ED #4F87ED #664FED
triadic
#4F87ED #ED4F87 #87ED4F
tetradic
#4F87ED #ED4FD6 #EDB54F #4FED66
square
#4F87ED #ED4FD6 #EDB54F #4FED66
split-complementary
#4F87ED #ED664F #D6ED4F
monochromatic
#124AB0 #1861E7 #4F87ED #87ADF3 #BED3F8

Accessibility & contrast

On white

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

On black

6.02
#4F87ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87ED
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87ED#FFFFFF#000000##000000
##4F87ED1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#3B82EB
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4f87ed;
/* rgb */ color: rgb(79, 135, 237);
/* oklch */ color: oklch(63.5% 0.164 261.3);
Tailwind
colors: {
  custom: {
    50: '#90a9f3',
    500: '#4f87ed',
    950: '#000000',
  },
}
SCSS
$custom: #4f87ed;
$custom-light: #90a9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87ed",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 218.734,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63527,
    "c": 0.16447,
    "h": 261.3
  },
  "luminance": 0.25105
}

Semantic roles & 50–950 ramp

primary
#4F87ED
secondary
#E9D4AF
accent
#9208DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4F87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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