#4C78EB#4C78EB

#4C78EB is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.2% C 0.180 H 265.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4C78EB
RGBrgb(76, 120, 235)
HSLhsl(223, 80%, 61%)
HSVhsv(223, 68%, 92%)
CMYKcmyk(67.7%, 48.9%, 0%, 7.8%)
CIE-LABlab(52.91, 21.99, -62.65)
CIE-LCHlch(52.91, 66.40, 289.34°)
OKLaboklab(60.18% -0.014 -0.1797)
OKLCHoklch(60.18% 0.18 265.5)
XYZxyz(24.6871, 20.9652, 81.3268)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78EB #EBBF4C
analogous
#4CC7EB #4C78EB #6F4CEB
triadic
#4C78EB #EB4C78 #78EB4C
tetradic
#4C78EB #EB4CC7 #EBBF4C #4CEB6F
square
#4C78EB #EB4CC7 #EBBF4C #4CEB6F
split-complementary
#4C78EB #EB6F4C #C7EB4C
monochromatic
#133DAA #1950E1 #4C78EB #83A2F1 #BACBF7

Accessibility & contrast

On white

4.04
#4C78EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4C78EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C78EB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C78EB#FFFFFF#000000##000000
##4C78EB1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EF
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c78eb;
/* rgb */ color: rgb(76, 120, 235);
/* oklch */ color: oklch(60.2% 0.180 265.5);
Tailwind
colors: {
  custom: {
    50: '#8f9ef2',
    500: '#4c78eb',
    950: '#000000',
  },
}
SCSS
$custom: #4c78eb;
$custom-light: #8f9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78eb",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 223.396,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60184,
    "c": 0.18029,
    "h": 265.5
  },
  "luminance": 0.20968
}

Semantic roles & 50–950 ramp

primary
#4C78EB
secondary
#E7D7AB
accent
#A209DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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