#4F87DB#4F87DB

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

Color values

HEX#4F87DB
RGBrgb(79, 135, 219)
HSLhsl(216, 66%, 58%)
HSVhsv(216, 64%, 86%)
CMYKcmyk(63.9%, 38.4%, 0%, 14.1%)
CIE-LABlab(56.19, 7.78, -48.44)
CIE-LCHlch(56.19, 49.06, 279.12°)
OKLaboklab(62.44% -0.0285 -0.1377)
OKLCHoklch(62.44% 0.141 258.3)
XYZxyz(24.6700, 24.1023, 70.3562)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87DB #DBA34F
analogous
#4FCDDB #4F87DB #5D4FDB
triadic
#4F87DB #DB4F87 #87DB4F
tetradic
#4F87DB #DB4FCD #DBA34F #4FDB5D
square
#4F87DB #DB4FCD #DBA34F #4FDB5D
split-complementary
#4F87DB #DB5D4F #CDDB4F
monochromatic
#1E4C92 #2867C5 #4F87DB #82AAE5 #B5CCF0

Accessibility & contrast

On white

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

On black

5.82
#4F87DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87DB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87DB#FFFFFF#000000##000000
##4F87DB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDE
Deuteranopia (green-blind)
#4E81D9
Tritanopia (blue-blind)
#009AA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4f87db;
/* rgb */ color: rgb(79, 135, 219);
/* oklch */ color: oklch(62.4% 0.141 258.3);
Tailwind
colors: {
  custom: {
    50: '#8da9e6',
    500: '#4f87db',
    950: '#000000',
  },
}
SCSS
$custom: #4f87db;
$custom-light: #8da9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87db",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 216,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62445,
    "c": 0.14064,
    "h": 258.3
  },
  "luminance": 0.24105
}

Semantic roles & 50–950 ramp

primary
#4F87DB
secondary
#DFC8A7
accent
#A53FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4F87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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