#4C78ED#4C78ED

#4C78ED is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.183 H 265.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4C78ED
RGBrgb(76, 120, 237)
HSLhsl(224, 82%, 61%)
HSVhsv(224, 68%, 93%)
CMYKcmyk(67.9%, 49.4%, 0%, 7.1%)
CIE-LABlab(53.04, 22.68, -63.56)
CIE-LCHlch(53.04, 67.49, 289.64°)
OKLaboklab(60.32% -0.0138 -0.1824)
OKLCHoklch(60.32% 0.183 265.7)
XYZxyz(24.9777, 21.0814, 82.8571)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78ED #EDC14C
analogous
#4CC9ED #4C78ED #714CED
triadic
#4C78ED #ED4C78 #78ED4C
tetradic
#4C78ED #ED4CC9 #EDC14C #4CED71
square
#4C78ED #ED4CC9 #EDC14C #4CED71
split-complementary
#4C78ED #ED714C #C9ED4C
monochromatic
#113CAD #174FE5 #4C78ED #84A2F3 #BBCCF8

Accessibility & contrast

On white

4.03
#4C78ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4C78ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C78ED
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C78ED#FFFFFF#000000##000000
##4C78ED1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586F1
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c78ed;
/* rgb */ color: rgb(76, 120, 237);
/* oklch */ color: oklch(60.3% 0.183 265.7);
Tailwind
colors: {
  custom: {
    50: '#8f9ef3',
    500: '#4c78ed',
    950: '#000000',
  },
}
SCSS
$custom: #4c78ed;
$custom-light: #8f9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78ed",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 223.602,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60322,
    "c": 0.18294,
    "h": 265.7
  },
  "luminance": 0.21084
}

Semantic roles & 50–950 ramp

primary
#4C78ED
secondary
#E8D8AC
accent
#A307DE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C78ED

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

Preview Lab → · Contrast checker → · Palette generator →

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