#4787FF#4787FF

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

Color values

HEX#4787FF
RGBrgb(71, 135, 255)
HSLhsl(219, 100%, 64%)
HSVhsv(219, 72%, 100%)
CMYKcmyk(72.2%, 47.1%, 0%, 0%)
CIE-LABlab(57.93, 19.14, -65.67)
CIE-LCHlch(57.93, 68.40, 286.25°)
OKLaboklab(64.36% -0.0279 -0.1885)
OKLCHoklch(64.36% 0.191 261.6)
XYZxyz(29.3060, 25.8843, 98.0400)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787FF #FFBF47
analogous
#47E3FF #4787FF #6347FF
triadic
#4787FF #FF4787 #87FF47
tetradic
#4787FF #FF47E3 #FFBF47 #47FF63
square
#4787FF #FF47E3 #FFBF47 #47FF63
split-complementary
#4787FF #FF6347 #E3FF47
monochromatic
#0047CC #0A5FFF #4787FF #84AFFF #C1D7FF

Accessibility & contrast

On white

3.40
#4787FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#4787FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787FF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787FF#FFFFFF#000000##000000
##4787FF1.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)
#4594FF
Deuteranopia (green-blind)
#0C83FD
Tritanopia (blue-blind)
#00A3B7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4787ff;
/* rgb */ color: rgb(71, 135, 255);
/* oklch */ color: oklch(64.4% 0.191 261.6);
Tailwind
colors: {
  custom: {
    50: '#90a9ff',
    500: '#4787ff',
    950: '#000000',
  },
}
SCSS
$custom: #4787ff;
$custom-light: #90a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4787ff",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 219.13,
    "s": 100,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64362,
    "c": 0.19051,
    "h": 261.6
  },
  "luminance": 0.25888
}

Semantic roles & 50–950 ramp

primary
#4787FF
secondary
#F1DBB1
accent
#9600E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F18
muted
#7E7F86

Preview Lab

Preview with #4787FF

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

Preview Lab → · Contrast checker → · Palette generator →

#4787FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva