#4788EC#4788EC

#4788EC is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.3% C 0.165 H 258.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4788EC
RGBrgb(71, 136, 236)
HSLhsl(216, 81%, 60%)
HSVhsv(216, 70%, 93%)
CMYKcmyk(69.9%, 42.4%, 0%, 7.5%)
CIE-LABlab(57.08, 11.81, -56.53)
CIE-LCHlch(57.08, 57.75, 281.80°)
OKLaboklab(63.35% -0.0319 -0.1616)
OKLCHoklch(63.35% 0.165 258.8)
XYZxyz(26.5375, 25.0012, 82.7678)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4788EC #ECAB47
analogous
#47DAEC #4788EC #5947EC
triadic
#4788EC #EC4788 #88EC47
tetradic
#4788EC #EC47DA #ECAB47 #47EC59
square
#4788EC #EC47DA #ECAB47 #47EC59
split-complementary
#4788EC #EC5947 #DAEC47
monochromatic
#114CA7 #1766DF #4788EC #7EACF2 #B6D0F7

Accessibility & contrast

On white

3.50
#4788EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#4788EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4788EC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4788EC#FFFFFF#000000##000000
##4788EC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891F0
Deuteranopia (green-blind)
#3B82EA
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4788ec;
/* rgb */ color: rgb(71, 136, 236);
/* oklch */ color: oklch(63.3% 0.165 258.8);
Tailwind
colors: {
  custom: {
    50: '#8caaf3',
    500: '#4788ec',
    950: '#000000',
  },
}
SCSS
$custom: #4788ec;
$custom-light: #8caaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#4788ec",
  "rgb": {
    "r": 71,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 216.364,
    "s": 81.281,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63346,
    "c": 0.1647,
    "h": 258.8
  },
  "luminance": 0.25004
}

Semantic roles & 50–950 ramp

primary
#4788EC
secondary
#E7CEA8
accent
#8908DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4788EC

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

Preview Lab → · Contrast checker → · Palette generator →

#4788EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva