#4787E0#4787E0

#4787E0 is a light, vivid cyan. Relative luminance 0.240; OKLCH L 62.4% C 0.150 H 257.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4787E0
RGBrgb(71, 135, 224)
HSLhsl(215, 71%, 58%)
HSVhsv(215, 68%, 88%)
CMYKcmyk(68.3%, 39.7%, 0%, 12.2%)
CIE-LABlab(56.13, 8.20, -51.35)
CIE-LCHlch(56.13, 52.00, 279.07°)
OKLaboklab(62.4% -0.0334 -0.1464)
OKLCHoklch(62.4% 0.15 257.1)
XYZxyz(24.7122, 24.0468, 73.8457)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787E0 #E0A047
analogous
#47D3E0 #4787E0 #5347E0
triadic
#4787E0 #E04787 #87E047
tetradic
#4787E0 #E047D3 #E0A047 #47E053
square
#4787E0 #E047D3 #E0A047 #47E053
split-complementary
#4787E0 #E05347 #D3E047
monochromatic
#194C94 #2267C8 #4787E0 #7BA9E9 #B0CBF2

Accessibility & contrast

On white

3.61
#4787E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#4787E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787E0
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787E0#FFFFFF#000000##000000
##4787E01.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE4
Deuteranopia (green-blind)
#4680DE
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4787e0;
/* rgb */ color: rgb(71, 135, 224);
/* oklch */ color: oklch(62.4% 0.150 257.1);
Tailwind
colors: {
  custom: {
    50: '#8aa9ea',
    500: '#4787e0',
    950: '#000000',
  },
}
SCSS
$custom: #4787e0;
$custom-light: #8aa9ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4787e0",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 224
  },
  "hsl": {
    "h": 214.902,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.624,
    "c": 0.15014,
    "h": 257.1
  },
  "luminance": 0.24049
}

Semantic roles & 50–950 ramp

primary
#4787E0
secondary
#E0C6A3
accent
#A33AEE
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4787E0

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

Preview Lab → · Contrast checker → · Palette generator →

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