#4C78D8#4C78D8

#4C78D8 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.9% C 0.155 H 263.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4C78D8
RGBrgb(76, 120, 216)
HSLhsl(221, 64%, 57%)
HSVhsv(221, 65%, 85%)
CMYKcmyk(64.8%, 44.4%, 0%, 15.3%)
CIE-LABlab(51.75, 15.36, -53.83)
CIE-LCHlch(51.75, 55.98, 285.93°)
OKLaboklab(58.93% -0.0167 -0.1538)
OKLCHoklch(58.93% 0.155 263.8)
XYZxyz(22.0873, 19.9252, 67.6344)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78D8 #D8AC4C
analogous
#4CBED8 #4C78D8 #664CD8
triadic
#4C78D8 #D84C78 #78D84C
tetradic
#4C78D8 #D84CBE #D8AC4C #4CD866
square
#4C78D8 #D84CBE #D8AC4C #4CD866
split-complementary
#4C78D8 #D8664C #BED84C
monochromatic
#1E418B #2958BE #4C78D8 #7E9EE3 #B1C4EE

Accessibility & contrast

On white

4.21
#4C78D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4C78D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C78D8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C78D8#FFFFFF#000000##000000
##4C78D81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A82DC
Deuteranopia (green-blind)
#3275D6
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c78d8;
/* rgb */ color: rgb(76, 120, 216);
/* oklch */ color: oklch(58.9% 0.155 263.8);
Tailwind
colors: {
  custom: {
    50: '#8c9ee4',
    500: '#4c78d8',
    950: '#000000',
  },
}
SCSS
$custom: #4c78d8;
$custom-light: #8c9ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78d8",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 216
  },
  "hsl": {
    "h": 221.143,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58925,
    "c": 0.15471,
    "h": 263.8
  },
  "luminance": 0.19927
}

Semantic roles & 50–950 ramp

primary
#4C78D8
secondary
#DCCAA4
accent
#B341E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C78D8

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

Preview Lab → · Contrast checker → · Palette generator →

#4C78D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva