#4788E7#4788E7

#4788E7 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.0% C 0.158 H 258.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4788E7
RGBrgb(71, 136, 231)
HSLhsl(216, 77%, 59%)
HSVhsv(216, 69%, 91%)
CMYKcmyk(69.3%, 41.1%, 0%, 9.4%)
CIE-LABlab(56.80, 10.05, -54.20)
CIE-LCHlch(56.80, 55.13, 280.51°)
OKLaboklab(63.04% -0.0329 -0.1547)
OKLCHoklch(63.04% 0.158 258)
XYZxyz(25.8213, 24.7147, 78.9954)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4788E7 #E7A647
analogous
#47D8E7 #4788E7 #5647E7
triadic
#4788E7 #E74788 #88E747
tetradic
#4788E7 #E747D8 #E7A647 #47E756
square
#4788E7 #E747D8 #E7A647 #47E756
split-complementary
#4788E7 #E75647 #D8E747
monochromatic
#154D9F #1C67D5 #4788E7 #7DABEE #B3CEF5

Accessibility & contrast

On white

3.53
#4788E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#4788E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4788E7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4788E7#FFFFFF#000000##000000
##4788E71.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B90EB
Deuteranopia (green-blind)
#4181E5
Tritanopia (blue-blind)
#009EAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #4788e7;
/* rgb */ color: rgb(71, 136, 231);
/* oklch */ color: oklch(63.0% 0.158 258.0);
Tailwind
colors: {
  custom: {
    50: '#8caaef',
    500: '#4788e7',
    950: '#000000',
  },
}
SCSS
$custom: #4788e7;
$custom-light: #8caaef;
$custom-dark: #000000;
JSON
{
  "hex": "#4788e7",
  "rgb": {
    "r": 71,
    "g": 136,
    "b": 231
  },
  "hsl": {
    "h": 215.625,
    "s": 76.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63038,
    "c": 0.15819,
    "h": 258
  },
  "luminance": 0.24717
}

Semantic roles & 50–950 ramp

primary
#4788E7
secondary
#E4CBA6
accent
#A634F3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4788E7

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

Preview Lab → · Contrast checker → · Palette generator →

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