#4C78CC#4C78CC

#4C78CC is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.2% C 0.138 H 262.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4C78CC
RGBrgb(76, 120, 204)
HSLhsl(219, 56%, 55%)
HSVhsv(219, 63%, 80%)
CMYKcmyk(62.7%, 41.2%, 0%, 20%)
CIE-LABlab(51.07, 11.22, -48.12)
CIE-LCHlch(51.07, 49.41, 283.12°)
OKLaboklab(58.18% -0.019 -0.137)
OKLCHoklch(58.18% 0.138 262.1)
XYZxyz(20.5922, 19.3272, 59.7604)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78CC #CCA04C
analogous
#4CB8CC #4C78CC #604CCC
triadic
#4C78CC #CC4C78 #78CC4C
tetradic
#4C78CC #CC4CB8 #CCA04C #4CCC60
square
#4C78CC #CC4CB8 #CCA04C #4CCC60
split-complementary
#4C78CC #CC604C #B8CC4C
monochromatic
#23417B #315AAA #4C78CC #7C9CDA #ABC0E7

Accessibility & contrast

On white

4.32
#4C78CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4C78CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C78CC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C78CC#FFFFFF#000000##000000
##4C78CC1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c78cc;
/* rgb */ color: rgb(76, 120, 204);
/* oklch */ color: oklch(58.2% 0.138 262.1);
Tailwind
colors: {
  custom: {
    50: '#8a9edc',
    500: '#4c78cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c78cc;
$custom-light: #8a9edc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78cc",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 219.375,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58176,
    "c": 0.13833,
    "h": 262.1
  },
  "luminance": 0.19329
}

Semantic roles & 50–950 ramp

primary
#4C78CC
secondary
#D5C29F
accent
#AB49DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4C78CC

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

Preview Lab → · Contrast checker → · Palette generator →

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