#4C78CF#4C78CF

#4C78CF is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.4% C 0.142 H 262.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4C78CF
RGBrgb(76, 120, 207)
HSLhsl(220, 58%, 55%)
HSVhsv(220, 63%, 81%)
CMYKcmyk(63.3%, 42%, 0%, 18.8%)
CIE-LABlab(51.24, 12.25, -49.56)
CIE-LCHlch(51.24, 51.05, 283.88°)
OKLaboklab(58.36% -0.0184 -0.1412)
OKLCHoklch(58.36% 0.142 262.6)
XYZxyz(20.9555, 19.4725, 61.6736)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78CF #CFA34C
analogous
#4CBACF #4C78CF #614CCF
triadic
#4C78CF #CF4C78 #78CF4C
tetradic
#4C78CF #CF4CBA #CFA34C #4CCF61
square
#4C78CF #CF4CBA #CFA34C #4CCF61
split-complementary
#4C78CF #CF614C #BACF4C
monochromatic
#22417F #2F5AAF #4C78CF #7C9CDC #ADC1E9

Accessibility & contrast

On white

4.29
#4C78CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4C78CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C78CF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C78CF#FFFFFF#000000##000000
##4C78CF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5081D2
Deuteranopia (green-blind)
#3D74CD
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c78cf;
/* rgb */ color: rgb(76, 120, 207);
/* oklch */ color: oklch(58.4% 0.142 262.6);
Tailwind
colors: {
  custom: {
    50: '#8a9ede',
    500: '#4c78cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c78cf;
$custom-light: #8a9ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78cf",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 219.847,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5836,
    "c": 0.14243,
    "h": 262.6
  },
  "luminance": 0.19474
}

Semantic roles & 50–950 ramp

primary
#4C78CF
secondary
#D7C4A0
accent
#AD47E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4C78CF

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

Preview Lab → · Contrast checker → · Palette generator →

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