#4788ED#4788ED

#4788ED is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.4% C 0.166 H 259.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4788ED
RGBrgb(71, 136, 237)
HSLhsl(217, 82%, 60%)
HSVhsv(217, 70%, 93%)
CMYKcmyk(70%, 42.6%, 0%, 7.1%)
CIE-LABlab(57.13, 12.16, -57.00)
CIE-LCHlch(57.13, 58.28, 282.05°)
OKLaboklab(63.41% -0.0317 -0.163)
OKLCHoklch(63.41% 0.166 259)
XYZxyz(26.6832, 25.0595, 83.5351)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4788ED #EDAC47
analogous
#47DBED #4788ED #5947ED
triadic
#4788ED #ED4788 #88ED47
tetradic
#4788ED #ED47DB #EDAC47 #47ED59
square
#4788ED #ED47DB #EDAC47 #47ED59
split-complementary
#4788ED #ED5947 #DBED47
monochromatic
#114CA9 #1665E1 #4788ED #7FACF2 #B6D0F8

Accessibility & contrast

On white

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

On black

6.01
#4788ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4788ED
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4788ED#FFFFFF#000000##000000
##4788ED1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F1
Deuteranopia (green-blind)
#3A82EB
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4788ed;
/* rgb */ color: rgb(71, 136, 237);
/* oklch */ color: oklch(63.4% 0.166 259.0);
Tailwind
colors: {
  custom: {
    50: '#8daaf3',
    500: '#4788ed',
    950: '#000000',
  },
}
SCSS
$custom: #4788ed;
$custom-light: #8daaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#4788ed",
  "rgb": {
    "r": 71,
    "g": 136,
    "b": 237
  },
  "hsl": {
    "h": 216.506,
    "s": 82.178,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63408,
    "c": 0.16601,
    "h": 259
  },
  "luminance": 0.25062
}

Semantic roles & 50–950 ramp

primary
#4788ED
secondary
#E8CFA8
accent
#8A07DF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4788ED

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

Preview Lab → · Contrast checker → · Palette generator →

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