#4F87FA#4F87FA

#4F87FA is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.4% C 0.182 H 262.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4F87FA
RGBrgb(79, 135, 250)
HSLhsl(220, 94%, 65%)
HSVhsv(220, 68%, 98%)
CMYKcmyk(68.4%, 46%, 0%, 2%)
CIE-LABlab(57.93, 18.47, -62.89)
CIE-LCHlch(57.93, 65.55, 286.36°)
OKLaboklab(64.35% -0.0227 -0.1802)
OKLCHoklch(64.35% 0.182 262.8)
XYZxyz(29.1376, 25.8894, 93.8855)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87FA #FAC24F
analogous
#4FDCFA #4F87FA #6D4FFA
triadic
#4F87FA #FA4F87 #87FA4F
tetradic
#4F87FA #FA4FDC #FAC24F #4FFA6D
square
#4F87FA #FA4FDC #FAC24F #4FFA6D
split-complementary
#4F87FA #FA6D4F #DCFA4F
monochromatic
#0646C9 #135EF8 #4F87FA #8BB0FC #C6D8FD

Accessibility & contrast

On white

3.40
#4F87FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#4F87FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87FA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87FA#FFFFFF#000000##000000
##4F87FA1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FE
Deuteranopia (green-blind)
#2684F8
Tritanopia (blue-blind)
#00A2B4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4f87fa;
/* rgb */ color: rgb(79, 135, 250);
/* oklch */ color: oklch(64.4% 0.182 262.8);
Tailwind
colors: {
  custom: {
    50: '#92a9fd',
    500: '#4f87fa',
    950: '#000000',
  },
}
SCSS
$custom: #4f87fa;
$custom-light: #92a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87fa",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 220.351,
    "s": 94.475,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64354,
    "c": 0.18158,
    "h": 262.8
  },
  "luminance": 0.25892
}

Semantic roles & 50–950 ramp

primary
#4F87FA
secondary
#F0DDB5
accent
#9A00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F18
muted
#7E7F86

Preview Lab

Preview with #4F87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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