#4788EE#4788EE

#4788EE is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.5% C 0.167 H 259.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4788EE
RGBrgb(71, 136, 238)
HSLhsl(217, 83%, 61%)
HSVhsv(217, 70%, 93%)
CMYKcmyk(70.2%, 42.9%, 0%, 6.7%)
CIE-LABlab(57.19, 12.52, -57.46)
CIE-LCHlch(57.19, 58.81, 282.29°)
OKLaboklab(63.47% -0.0315 -0.1643)
OKLCHoklch(63.47% 0.167 259.1)
XYZxyz(26.8297, 25.1181, 84.3066)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4788EE #EEAD47
analogous
#47DBEE #4788EE #5947EE
triadic
#4788EE #EE4788 #88EE47
tetradic
#4788EE #EE47DB #EEAD47 #47EE59
square
#4788EE #EE47DB #EEAD47 #47EE59
split-complementary
#4788EE #EE5947 #DBEE47
monochromatic
#104CAB #1565E3 #4788EE #7FACF3 #B7D0F8

Accessibility & contrast

On white

3.49
#4788EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#4788EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4788EE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4788EE#FFFFFF#000000##000000
##4788EE1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F2
Deuteranopia (green-blind)
#3882EC
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4788ee;
/* rgb */ color: rgb(71, 136, 238);
/* oklch */ color: oklch(63.5% 0.167 259.1);
Tailwind
colors: {
  custom: {
    50: '#8daaf4',
    500: '#4788ee',
    950: '#000000',
  },
}
SCSS
$custom: #4788ee;
$custom-light: #8daaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#4788ee",
  "rgb": {
    "r": 71,
    "g": 136,
    "b": 238
  },
  "hsl": {
    "h": 216.647,
    "s": 83.085,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63471,
    "c": 0.16731,
    "h": 259.1
  },
  "luminance": 0.25121
}

Semantic roles & 50–950 ramp

primary
#4788EE
secondary
#E8CFA9
accent
#8B06E0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4788EE

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

Preview Lab → · Contrast checker → · Palette generator →

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