#4787DE#4787DE

#4787DE is a light, vivid cyan. Relative luminance 0.239; OKLCH L 62.3% C 0.148 H 256.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4787DE
RGBrgb(71, 135, 222)
HSLhsl(215, 70%, 57%)
HSVhsv(215, 68%, 87%)
CMYKcmyk(68%, 39.2%, 0%, 12.9%)
CIE-LABlab(56.03, 7.50, -50.40)
CIE-LCHlch(56.03, 50.96, 278.46°)
OKLaboklab(62.28% -0.0339 -0.1436)
OKLCHoklch(62.28% 0.148 256.7)
XYZxyz(24.4425, 23.9389, 72.4256)
Luminance0.2394 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4787DE #DE9E47
analogous
#47D2DE #4787DE #5347DE
triadic
#4787DE #DE4787 #87DE47
tetradic
#4787DE #DE47D2 #DE9E47 #47DE53
square
#4787DE #DE47D2 #DE9E47 #47DE53
split-complementary
#4787DE #DE5347 #D2DE47
monochromatic
#1A4C91 #2368C5 #4787DE #7BA9E7 #AFCBF1

Accessibility & contrast

On white

3.63
#4787DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#4787DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4787DE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4787DE#FFFFFF#000000##000000
##4787DE1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE1
Deuteranopia (green-blind)
#4880DC
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4787de;
/* rgb */ color: rgb(71, 135, 222);
/* oklch */ color: oklch(62.3% 0.148 256.7);
Tailwind
colors: {
  custom: {
    50: '#8aa9e9',
    500: '#4787de',
    950: '#000000',
  },
}
SCSS
$custom: #4787de;
$custom-light: #8aa9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4787de",
  "rgb": {
    "r": 71,
    "g": 135,
    "b": 222
  },
  "hsl": {
    "h": 214.57,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62281,
    "c": 0.14754,
    "h": 256.7
  },
  "luminance": 0.23941
}

Semantic roles & 50–950 ramp

primary
#4787DE
secondary
#DFC5A2
accent
#A13BEC
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4787DE

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

Preview Lab → · Contrast checker → · Palette generator →

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