#4C78E6#4C78E6

#4C78E6 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.8% C 0.174 H 265.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4C78E6
RGBrgb(76, 120, 230)
HSLhsl(223, 75%, 60%)
HSVhsv(223, 67%, 90%)
CMYKcmyk(67%, 47.8%, 0%, 9.8%)
CIE-LABlab(52.60, 20.24, -60.36)
CIE-LCHlch(52.60, 63.66, 288.54°)
OKLaboklab(59.85% -0.0147 -0.173)
OKLCHoklch(59.85% 0.174 265.2)
XYZxyz(23.9749, 20.6803, 77.5758)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78E6 #E6BA4C
analogous
#4CC5E6 #4C78E6 #6D4CE6
triadic
#4C78E6 #E64C78 #78E64C
tetradic
#4C78E6 #E64CC5 #E6BA4C #4CE66D
square
#4C78E6 #E64CC5 #E6BA4C #4CE66D
split-complementary
#4C78E6 #E66D4C #C5E64C
monochromatic
#173EA1 #1E53D7 #4C78E6 #82A1ED #B7C9F5

Accessibility & contrast

On white

4.09
#4C78E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4C78E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C78E6
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C78E6#FFFFFF#000000##000000
##4C78E61.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D85EA
Deuteranopia (green-blind)
#1677E4
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4c78e6;
/* rgb */ color: rgb(76, 120, 230);
/* oklch */ color: oklch(59.8% 0.174 265.2);
Tailwind
colors: {
  custom: {
    50: '#8e9eee',
    500: '#4c78e6',
    950: '#000000',
  },
}
SCSS
$custom: #4c78e6;
$custom-light: #8e9eee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78e6",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 230
  },
  "hsl": {
    "h": 222.857,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.17361,
    "h": 265.2
  },
  "luminance": 0.20683
}

Semantic roles & 50–950 ramp

primary
#4C78E6
secondary
#E5D4A9
accent
#BC36F2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4C78E6

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

Preview Lab → · Contrast checker → · Palette generator →

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