#4C78E9#4C78E9

#4C78E9 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.0% C 0.178 H 265.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4C78E9
RGBrgb(76, 120, 233)
HSLhsl(223, 78%, 61%)
HSVhsv(223, 67%, 91%)
CMYKcmyk(67.4%, 48.5%, 0%, 8.6%)
CIE-LABlab(52.79, 21.29, -61.74)
CIE-LCHlch(52.79, 65.30, 289.02°)
OKLaboklab(60.05% -0.0143 -0.177)
OKLCHoklch(60.05% 0.178 265.4)
XYZxyz(24.3998, 20.8502, 79.8136)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78E9 #E9BD4C
analogous
#4CC6E9 #4C78E9 #6F4CE9
triadic
#4C78E9 #E94C78 #78E94C
tetradic
#4C78E9 #E94CC6 #E9BD4C #4CE96F
square
#4C78E9 #E94CC6 #E9BD4C #4CE96F
split-complementary
#4C78E9 #E96F4C #C6E94C
monochromatic
#143DA6 #1B51DD #4C78E9 #83A1F0 #B9CAF6

Accessibility & contrast

On white

4.06
#4C78E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4C78E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C78E9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C78E9#FFFFFF#000000##000000
##4C78E91.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86ED
Deuteranopia (green-blind)
#0877E7
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c78e9;
/* rgb */ color: rgb(76, 120, 233);
/* oklch */ color: oklch(60.0% 0.178 265.4);
Tailwind
colors: {
  custom: {
    50: '#8f9ef1',
    500: '#4c78e9',
    950: '#000000',
  },
}
SCSS
$custom: #4c78e9;
$custom-light: #8f9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78e9",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 233
  },
  "hsl": {
    "h": 223.185,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60048,
    "c": 0.17761,
    "h": 265.4
  },
  "luminance": 0.20853
}

Semantic roles & 50–950 ramp

primary
#4C78E9
secondary
#E6D6AB
accent
#A00BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C78E9

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

Preview Lab → · Contrast checker → · Palette generator →

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