#4788EB#4788EB

#4788EB is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.3% C 0.163 H 258.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4788EB
RGBrgb(71, 136, 235)
HSLhsl(216, 80%, 60%)
HSVhsv(216, 70%, 92%)
CMYKcmyk(69.8%, 42.1%, 0%, 7.8%)
CIE-LABlab(57.02, 11.46, -56.07)
CIE-LCHlch(57.02, 57.23, 281.55°)
OKLaboklab(63.28% -0.0321 -0.1602)
OKLCHoklch(63.28% 0.163 258.7)
XYZxyz(26.3927, 24.9433, 82.0047)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4788EB #EBAA47
analogous
#47DAEB #4788EB #5847EB
triadic
#4788EB #EB4788 #88EB47
tetradic
#4788EB #EB47DA #EBAA47 #47EB58
square
#4788EB #EB47DA #EBAA47 #47EB58
split-complementary
#4788EB #EB5847 #DAEB47
monochromatic
#124CA6 #1866DD #4788EB #7EACF1 #B5CFF7

Accessibility & contrast

On white

3.51
#4788EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#4788EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4788EB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4788EB#FFFFFF#000000##000000
##4788EB1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4788eb;
/* rgb */ color: rgb(71, 136, 235);
/* oklch */ color: oklch(63.3% 0.163 258.7);
Tailwind
colors: {
  custom: {
    50: '#8caaf2',
    500: '#4788eb',
    950: '#000000',
  },
}
SCSS
$custom: #4788eb;
$custom-light: #8caaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4788eb",
  "rgb": {
    "r": 71,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 216.22,
    "s": 80.392,
    "l": 60
  },
  "oklch": {
    "l": 0.63284,
    "c": 0.1634,
    "h": 258.7
  },
  "luminance": 0.24946
}

Semantic roles & 50–950 ramp

primary
#4788EB
secondary
#E6CDA7
accent
#A831F7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4788EB

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

Preview Lab → · Contrast checker → · Palette generator →

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