#4F87E3#4F87E3

#4F87E3 is a light, vivid blue. Relative luminance 0.245; OKLCH L 62.9% C 0.151 H 259.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4F87E3
RGBrgb(79, 135, 227)
HSLhsl(217, 73%, 60%)
HSVhsv(217, 65%, 89%)
CMYKcmyk(65.2%, 40.5%, 0%, 11%)
CIE-LABlab(56.62, 10.52, -52.24)
CIE-LCHlch(56.62, 53.28, 281.38°)
OKLaboklab(62.92% -0.0267 -0.1488)
OKLCHoklch(62.92% 0.151 259.8)
XYZxyz(25.7486, 24.5338, 76.0367)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87E3 #E3AB4F
analogous
#4FD1E3 #4F87E3 #614FE3
triadic
#4F87E3 #E34F87 #87E34F
tetradic
#4F87E3 #E34FD1 #E3AB4F #4FE361
square
#4F87E3 #E34FD1 #E3AB4F #4FE361
split-complementary
#4F87E3 #E3614F #D1E34F
monochromatic
#194C9E #2265D3 #4F87E3 #84ABEB #B9CFF4

Accessibility & contrast

On white

3.55
#4F87E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#4F87E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87E3
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87E3#FFFFFF#000000##000000
##4F87E31.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8FE7
Deuteranopia (green-blind)
#4681E1
Tritanopia (blue-blind)
#009CAA
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4f87e3;
/* rgb */ color: rgb(79, 135, 227);
/* oklch */ color: oklch(62.9% 0.151 259.8);
Tailwind
colors: {
  custom: {
    50: '#8ea9ec',
    500: '#4f87e3',
    950: '#000000',
  },
}
SCSS
$custom: #4f87e3;
$custom-light: #8ea9ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87e3",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 227
  },
  "hsl": {
    "h": 217.297,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.62917,
    "c": 0.15123,
    "h": 259.8
  },
  "luminance": 0.24536
}

Semantic roles & 50–950 ramp

primary
#4F87E3
secondary
#E3CEAA
accent
#AA39EF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4F87E3

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

Preview Lab → · Contrast checker → · Palette generator →

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