#4788D4#4788D4

#4788D4 is a mid, vivid cyan. Relative luminance 0.237; OKLCH L 61.9% C 0.134 H 253.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4788D4
RGBrgb(71, 136, 212)
HSLhsl(212, 62%, 55%)
HSVhsv(212, 67%, 83%)
CMYKcmyk(66.5%, 35.8%, 0%, 16.9%)
CIE-LABlab(55.79, 3.43, -45.17)
CIE-LCHlch(55.79, 45.30, 274.34°)
OKLaboklab(61.92% -0.0372 -0.1283)
OKLCHoklch(61.92% 0.134 253.8)
XYZxyz(23.2820, 23.6990, 65.6220)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4788D4 #D49347
analogous
#47CFD4 #4788D4 #4C47D4
triadic
#4788D4 #D44788 #88D447
tetradic
#4788D4 #D447CF #D49347 #47D44C
square
#4788D4 #D447CF #D49347 #47D44C
split-complementary
#4788D4 #D44C47 #CFD447
monochromatic
#1E4C82 #2A6AB4 #4788D4 #79A8E0 #AAC8EB

Accessibility & contrast

On white

3.66
#4788D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#4788D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4788D4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4788D4#FFFFFF#000000##000000
##4788D41.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#668DD7
Deuteranopia (green-blind)
#5280D2
Tritanopia (blue-blind)
#009AA4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4788d4;
/* rgb */ color: rgb(71, 136, 212);
/* oklch */ color: oklch(61.9% 0.134 253.8);
Tailwind
colors: {
  custom: {
    50: '#88aae1',
    500: '#4788d4',
    950: '#000000',
  },
}
SCSS
$custom: #4788d4;
$custom-light: #88aae1;
$custom-dark: #000000;
JSON
{
  "hex": "#4788d4",
  "rgb": {
    "r": 71,
    "g": 136,
    "b": 212
  },
  "hsl": {
    "h": 212.34,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61922,
    "c": 0.13355,
    "h": 253.8
  },
  "luminance": 0.23701
}

Semantic roles & 50–950 ramp

primary
#4788D4
secondary
#D9BE9E
accent
#9A43E5
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #4788D4

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

Preview Lab → · Contrast checker → · Palette generator →

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